- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 95 for finer (0.05 sec)
-
guava/src/com/google/common/primitives/ImmutableIntArray.java
*/ @Override public String toString() { if (isEmpty()) { return "[]"; } StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine builder.append('[').append(array[start]); for (int i = start + 1; i < end; i++) { builder.append(", ").append(array[i]); } builder.append(']'); return builder.toString(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
*/ @Override public String toString() { if (isEmpty()) { return "[]"; } StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine builder.append('[').append(array[start]); for (int i = start + 1; i < end; i++) { builder.append(", ").append(array[i]); } builder.append(']'); return builder.toString(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
/** * Constructs a new {@code CacheStats} instance. * * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed * by end users and is too fine-grained for a builder. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public CacheStats( long hitCount, long missCount, long loadSuccessCount,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* * @author Robert Konigsberg */ @GwtCompatible @NullMarked public class UnmodifiableCollectionTests { public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) { try { // fine because the call is going to fail without modifying the entry @SuppressWarnings("unchecked") Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry; nullableValueEntry.setValue(null);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.9K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheStats.java
/** * Constructs a new {@code CacheStats} instance. * * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed * by end users and is too fine-grained for a builder. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public CacheStats( long hitCount, long missCount, long loadSuccessCount,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* * <p><b>Note:</b> In some cases the differences explained below can be subtle. When it's unclear * which approach to use, <b>don't worry</b> too much about it; just pick something that seems * reasonable and it will be fine. * * <ul> * <li>If checking whether the <i>caller</i> has violated your method or constructor's contract * (such as by passing an invalid argument), use the utilities of the {@link Preconditions}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList<String> result = builder.build(); /* * Maybe it rejects all elements, or maybe it adds "a" before failing. * Either way is fine with us. */ if (result.isEmpty()) { return; } assertTrue(ImmutableList.of("a").equals(result)); assertEquals(1, result.size()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
* implementation unless some of its bounds have changed in resolution. This avoids creating * unequal TypeVariable implementation unnecessarily. When the bounds do change, however, it's * fine for the synthetic TypeVariable to be unequal to any native TypeVariable anyway. */ @SuppressWarnings("UnusedTypeParameter") // It's used reflectively. static final class NativeTypeVariableEquals<X> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList<String> result = builder.build(); /* * Maybe it rejects all elements, or maybe it adds "a" before failing. * Either way is fine with us. */ if (result.isEmpty()) { return; } assertTrue(ImmutableList.of("a").equals(result)); assertEquals(1, result.size()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
// We only ever register ArrayReferences with the queue so this is always safe. ArrayReference<? extends L> arrayRef = (ArrayReference<? extends L>) ref; // Try to clear out the array slot, n.b. if we fail that is fine, in either case the // arrayRef will be out of the array after this step. locks.compareAndSet(arrayRef.index, arrayRef, null); } } @Override public int size() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 22:01:32 UTC 2025 - 20.6K bytes - Viewed (0)