- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for buildKeepingLast (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
assertMapEquals( builder.buildKeepingLast(), "three", 3, "one", 1, "five", 5, "four", 4, "two", 2); IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> builder.buildOrThrow()); // We don't really care which values the exception message contains, but they should be // different from each other. If buildKeepingLast() collapsed duplicates, that might end up not
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
// unusual execution environments where that might not be true. } builder.put(method.getName(), method); } } typeVariableMethods = builder.buildKeepingLast(); } private final TypeVariableImpl<?> typeVariableImpl; TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) { this.typeVariableImpl = typeVariableImpl; }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/src/com/google/common/reflect/Types.java
// unusual execution environments where that might not be true. } builder.put(method.getName(), method); } } typeVariableMethods = builder.buildKeepingLast(); } private final TypeVariableImpl<?> typeVariableImpl; TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) { this.typeVariableImpl = typeVariableImpl; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* @deprecated This method does not make sense for bimaps and should not be called. * @since 31.1 */ @DoNotCall @Deprecated @Override public ImmutableBiMap<K, V> buildKeepingLast() { throw new UnsupportedOperationException("Not supported for bimaps"); } } /** * Returns an immutable bimap containing the same entries as {@code map}. If {@code map} somehowRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
* @deprecated This method does not make sense for bimaps and should not be called. * @since 31.1 */ @DoNotCall @Deprecated @Override public ImmutableBiMap<K, V> buildKeepingLast() { throw new UnsupportedOperationException("Not supported for bimaps"); } @Override @VisibleForTesting ImmutableBiMap<K, V> buildJdkBacked() { checkState(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
*/ @DoNotCall @Deprecated @Override public final ImmutableSortedMap<K, V> buildKeepingLast() { // TODO(emcmanus): implement throw new UnsupportedOperationException( "ImmutableSortedMap.Builder does not yet implement buildKeepingLast()"); } } private final transient RegularImmutableSortedSet<K> keySet;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
K castKey = (K) key; result.put(castKey, value); hits++; } } globalStatsCounter.recordHits(hits); globalStatsCounter.recordMisses(misses); return result.buildKeepingLast(); } ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException { int hits = 0; int misses = 0; Map<K, V> result = new LinkedHashMap<>();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 19:35:11 UTC 2025 - 148.9K bytes - Viewed (0)