- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for RegularImmutableMultiset (0.14 seconds)
-
android/guava/src/com/google/common/collect/ImmutableMultiset.java
* allocate an object for each entry, so we check for that. */ static <T> @Nullable ObjectCountHashMap<T> tryGetMap(Iterable<T> multiset) { if (multiset instanceof RegularImmutableMultiset) { return ((RegularImmutableMultiset<T>) multiset).contents; } else if (multiset instanceof AbstractMapBasedMultiset) { return ((AbstractMapBasedMultiset<T>) multiset).backingMap; } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 22.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
*/ @SuppressWarnings("unchecked") // all supported methods are covariant public static <E> ImmutableMultiset<E> of() { return (ImmutableMultiset<E>) RegularImmutableMultiset.EMPTY; } /** * Returns an immutable multiset containing a single element. * * @throws NullPointerException if the element is null * @since 6.0 (source-compatible since 2.0) */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)