- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for isReusable (0.17 seconds)
-
guava/src/com/google/common/collect/ImmutableMapEntry.java
return null; } /** * Returns true if this entry has no bucket links and can safely be reused as a terminal entry in * a bucket in another map. */ boolean isReusable() { return true; } static class NonTerminalImmutableMapEntry<K, V> extends ImmutableMapEntry<K, V> { /* * Yes, we sometimes set nextInKeyBucket to null, even for this "non-terminal" entry. We don'tCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 21:42:29 GMT 2025 - 4.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
static <K, V> ImmutableMapEntry<K, V> makeImmutable(Entry<K, V> entry, K key, V value) { boolean reusable = entry instanceof ImmutableMapEntry && ((ImmutableMapEntry<K, V>) entry).isReusable(); return reusable ? (ImmutableMapEntry<K, V>) entry : new ImmutableMapEntry<K, V>(key, value); } /** Makes an entry usable internally by a new ImmutableMap. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 15.7K bytes - Click Count (0)