- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for JdkBackedImmutableMultiset (0.15 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
if (!(entry instanceof Multisets.ImmutableEntry)) { entriesArray[i] = Multisets.immutableEntry(element, count); } } return new JdkBackedImmutableMultiset<>(delegateMap, asImmutableList(entriesArray), size); } private JdkBackedImmutableMultiset( Map<E, Integer> delegateMap, ImmutableList<Entry<E>> entries, long size) { this.delegateMap = delegateMap; this.entries = entries;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 3.2K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java
import java.util.Collection; import org.jspecify.annotations.Nullable; /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */ final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> { static final ImmutableMultiset<Object> EMPTY = JdkBackedImmutableMultiset.create(ImmutableList.of()); RegularImmutableMultiset() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 1.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
} hashCode += hash ^ count; entryArray[index++] = newEntry; hashTable[bucket] = newEntry; size += count; } return hashFloodingDetected(hashTable) ? JdkBackedImmutableMultiset.create(asImmutableList(entryArray)) : new RegularImmutableMultiset<E>( entryArray, hashTable, Ints.saturatedCast(size), hashCode, null); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
return copyOf(contents); } @VisibleForTesting ImmutableMultiset<E> buildJdkBacked() { if (contents.isEmpty()) { return of(); } return JdkBackedImmutableMultiset.create(contents.entrySet()); } } static final class ElementSet<E> extends ImmutableSet.Indexed<E> { private final List<Entry<E>> entries; // TODO(cpovirk): @Weak?
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0)