- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Chandler (0.15 sec)
-
android/guava/src/com/google/common/collect/Sets.java
* an element in the set. For example, {@code contains} returns {@code false} when passed an * object that equals a set member, but isn't the same instance. This behavior is similar to the * way {@code IdentityHashMap} handles key lookups. * * @since 8.0 */ public static <E extends @Nullable Object> Set<E> newIdentityHashSet() { return Collections.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap()); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
// requireNonNull is safe because the first `n` elements are non-null. E elem = (E) requireNonNull(elements[0]); return of(elem); default: // continue below to handle the general case } int tableSize = chooseTableSize(n); Object[] table = new Object[tableSize]; int mask = tableSize - 1; int hashCode = 0; int uniques = 0;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* * ...except that it's possible for users to insert a string key with a non-string value, and * in that case, getProperty *will* return null. * * TODO(b/192002623): Handle that case: Either: * * - Skip non-string keys and values entirely, as proposed in the linked bug. * * - Throw ClassCastException instead of NullPointerException, as documented in the current
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* element is found, {@code defaultValue} will be returned from this method and the iterator will * be left exhausted: its {@code hasNext()} method will return {@code false}. Note that this can * usually be handled more naturally using {@code tryFind(iterator, predicate).or(defaultValue)}. * * @since 7.0 */ // For discussion of this signature, see the corresponding overload of *Iterables*.find. @CheckForNull
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 51.1K bytes - Viewed (0)