- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for ImmutableSortedMultiset (0.18 seconds)
-
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* * <p>Note that if {@code s} is a {@code Multiset<String>}, then {@code * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>} * containing each of the strings in {@code s}, while {@code ImmutableSortedMultiset.of(s)} * returns an {@code ImmutableSortedMultiset<Multiset<String>>} containing one element (the given * multiset itself). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* * <p>Note that if {@code s} is a {@code Multiset<String>}, then {@code * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>} * containing each of the strings in {@code s}, while {@code ImmutableSortedMultiset.of(s)} * returns an {@code ImmutableSortedMultiset<Multiset<String>>} containing one element (the given * multiset itself). *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
Collection<String> c = ImmutableSortedMultiset.of("a"); assertThat(ImmutableSortedMultiset.copyOf(c)).isSameInstanceAs(c); } public void testCopyOf_shortcut_immutableMultiset() { Collection<String> c = ImmutableSortedMultiset.of("a", "b", "c"); assertThat(ImmutableSortedMultiset.copyOf(c)).isSameInstanceAs(c); } public void testForEachEntry() { ImmutableSortedMultiset<String> multiset =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
Collection<String> c = ImmutableSortedMultiset.of("a"); assertThat(ImmutableSortedMultiset.copyOf(c)).isSameInstanceAs(c); } public void testCopyOf_shortcut_immutableMultiset() { Collection<String> c = ImmutableSortedMultiset.of("a", "b", "c"); assertThat(ImmutableSortedMultiset.copyOf(c)).isSameInstanceAs(c); } public void testBuilderAdd() { ImmutableSortedMultiset<String> multiset =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 19.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(Multiset.class, ImmutableMultiset.of()) .put(ImmutableMultiset.class, ImmutableMultiset.of()) .put(SortedMultiset.class, ImmutableSortedMultiset.of()) .put(ImmutableSortedMultiset.class, ImmutableSortedMultiset.of()) .put(BiMap.class, ImmutableBiMap.of()) .put(ImmutableBiMap.class, ImmutableBiMap.of()) .put(Table.class, ImmutableTable.of())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(Multiset.class, ImmutableMultiset.of()) .put(ImmutableMultiset.class, ImmutableMultiset.of()) .put(SortedMultiset.class, ImmutableSortedMultiset.of()) .put(ImmutableSortedMultiset.class, ImmutableSortedMultiset.of()) .put(BiMap.class, ImmutableBiMap.of()) .put(ImmutableBiMap.class, ImmutableBiMap.of()) .put(Table.class, ImmutableTable.of())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
} }, ImmutableSortedMultisetImpl { @Override public <E extends Comparable<E>> SortedMultiset<E> create(Collection<E> contents) { return ImmutableSortedMultiset.copyOf(contents); } }; } enum QueueImpl implements CollectionsImplEnum { MinMaxPriorityQueueImpl { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 12.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
multiset.add(freshElement); return multiset; } @Generates static <E extends Comparable<E>> ImmutableSortedMultiset<E> generateImmutableSortedMultiset( E freshElement) { return ImmutableSortedMultiset.of(freshElement); } @Generates static <K, V> Map<K, V> generateMap(@Nullable K key, @Nullable V value) { return generateHashdMap(key, value);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
* multiple multisets in series. * * @since 2.0 */ public static class Builder<E> extends ImmutableCollection.Builder<E> { /* * `contents` is null only for instances of the subclass, ImmutableSortedMultiset.Builder. That * subclass overrides all the methods that access it here. Thus, all the methods here can safely * assume that this field is non-null. */ @Nullable ObjectCountHashMap<E> contents;
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) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSetMultimap; import com.google.common.collect.ImmutableSortedMap; import com.google.common.collect.ImmutableSortedMultiset; import com.google.common.collect.ImmutableSortedSet; import com.google.common.collect.ImmutableTable; import com.google.common.collect.LinkedHashMultimap; import com.google.common.collect.LinkedHashMultiset;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0)