- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for preference (0.23 sec)
-
guava/src/com/google/common/base/Predicates.java
} /** * Returns a predicate that evaluates to {@code true} if the object reference being tested is * null. * * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull}, * but note that lambdas and method references do not have human-readable {@link #toString()} * representations and are not serializable. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
} /** * Returns an unmodifiable view of the specified collection, preserving the interface for * instances of {@code SortedSet}, {@code Set}, {@code List} and {@code Collection}, in that order * of preference. * * @param collection the collection for which to return an unmodifiable view * @return an unmodifiable view of the collection */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
} /** * Returns an unmodifiable view of the specified collection, preserving the interface for * instances of {@code SortedSet}, {@code Set}, {@code List} and {@code Collection}, in that order * of preference. * * @param collection the collection for which to return an unmodifiable view * @return an unmodifiable view of the collection */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
return created; } // N.B. Draining the queue is only necessary to ensure that we don't accumulate empty references // in the array. We could skip this if we decide we don't care about holding on to Reference // objects indefinitely. private void drainQueue() { Reference<? extends L> ref; while ((ref = queue.poll()) != null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
/* * We avoid using a method reference or lambda here for now: * * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom * ClassLoader that is sometimes used as a system classloader. That's a problem because * method-reference linking tries to look up the system classloader, and it fails because there * isn't one yet. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
} } } /** A weakly referenced value that also has a reference to its containing entry. */ interface WeakValueReference<K, V, E extends InternalEntry<K, V, E>> { /** * Returns the current value being referenced, or {@code null} if there is none (e.g. because
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
} /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { return Platform.newArray(reference, length); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ObjectArrays.java
} /** * Returns a new array of the given length with the same type as a reference array. * * @param reference any array of the desired type * @param length the length of the new array */ public static <T extends @Nullable Object> T[] newArray(T[] reference, int length) { return Platform.newArray(reference, length); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* However, the precise conditions for skipping the copy operation are undefined. * <li><b>Warning:</b> a view collection such as {@link ImmutableMap#keySet} or {@link * ImmutableList#subList} may retain a reference to the entire data set, preventing it from * being garbage collected. If some of the data is no longer reachable through other means,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
Object[] reference = list.toArray(array1); Object[] target = ObjectArrays.toArrayImpl(list, array2); assertEquals(reference.getClass(), target.getClass()); assertTrue(Arrays.equals(reference, target)); assertTrue(Arrays.equals(reference, target)); Object[] expectedArray1 = expectModify ? reference : starting;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0)