Home
last modified time | relevance | path

Searched defs:multiset (Results 1 – 25 of 38) sorted by relevance

12

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableMultisetTest.java42 Multiset<String> multiset = ImmutableMultiset.of(); in testCreation_noArgs() local
47 Multiset<String> multiset = ImmutableMultiset.of("a"); in testCreation_oneElement() local
52 Multiset<String> multiset = ImmutableMultiset.of("a", "b"); in testCreation_twoElements() local
57 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c"); in testCreation_threeElements() local
62 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c", "d"); in testCreation_fourElements() local
67 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local
73 Multiset<String> multiset = ImmutableMultiset.of( in testCreation_sixElements() local
80 Multiset<String> multiset = ImmutableMultiset.of( in testCreation_sevenElements() local
89 Multiset<String> multiset = ImmutableMultiset.copyOf(array); in testCreation_emptyArray() local
95 Multiset<String> multiset = ImmutableMultiset.copyOf(array); in testCreation_arrayOfOneElement() local
[all …]
DMultisetsTest.java63 TreeMultiset<String> multiset in testNewTreeMultisetComparator() local
71 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty() local
79 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesIterableEmpty() local
86 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesMultisetEmpty() local
201 Multiset<String> multiset = in testRetainEmptyOccurrences() local
209 Multiset<String> multiset = in testRetainOccurrences() local
218 Multiset<String> multiset = in testRemoveEmptyOccurrencesMultiset() local
226 Multiset<String> multiset = in testRemoveOccurrencesMultiset() local
235 Multiset<String> multiset = in testRemoveEmptyOccurrencesIterable() local
243 Multiset<String> multiset = in testRemoveOccurrencesMultisetIterable() local
[all …]
DSimpleAbstractMultisetTest.java42 Multiset<String> multiset = new NoRemoveMultiset<String>() { in testFastAddAllMultiset() local
56 Multiset<String> multiset = new NoRemoveMultiset<String>(); in testRemoveUnsupported() local
DTreeMultisetTest.java40 TreeMultiset<String> multiset = TreeMultiset.create(); in testCreate() local
50 Multiset<String> multiset = TreeMultiset.create(Collections.reverseOrder()); in testCreateWithComparator() local
59 Multiset<String> multiset in testCreateFromIterable() local
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableMultisetTest.java134 Multiset<String> multiset = ImmutableMultiset.of(); in testCreation_noArgs() local
139 Multiset<String> multiset = ImmutableMultiset.of("a"); in testCreation_oneElement() local
144 Multiset<String> multiset = ImmutableMultiset.of("a", "b"); in testCreation_twoElements() local
149 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c"); in testCreation_threeElements() local
154 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c", "d"); in testCreation_fourElements() local
159 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local
165 Multiset<String> multiset = ImmutableMultiset.of( in testCreation_sixElements() local
172 Multiset<String> multiset = ImmutableMultiset.of( in testCreation_sevenElements() local
181 Multiset<String> multiset = ImmutableMultiset.copyOf(array); in testCreation_emptyArray() local
187 Multiset<String> multiset = ImmutableMultiset.copyOf(array); in testCreation_arrayOfOneElement() local
[all …]
DImmutableSortedMultisetTest.java121 Multiset<String> multiset = ImmutableSortedMultiset.of(); in testCreation_noArgs() local
126 Multiset<String> multiset = ImmutableSortedMultiset.of("a"); in testCreation_oneElement() local
131 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b"); in testCreation_twoElements() local
136 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c"); in testCreation_threeElements() local
141 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c", "d"); in testCreation_fourElements() local
146 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local
151 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local
156 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local
162 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array); in testCreation_emptyArray() local
168 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array); in testCreation_arrayOfOneElement() local
[all …]
DMultisetsTest.java65 TreeMultiset<String> multiset in testNewTreeMultisetComparator() local
73 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty() local
81 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesIterableEmpty() local
88 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesMultisetEmpty() local
203 Multiset<String> multiset = in testRetainEmptyOccurrences() local
211 Multiset<String> multiset = in testRetainOccurrences() local
220 Multiset<String> multiset = in testRemoveEmptyOccurrencesMultiset() local
228 Multiset<String> multiset = in testRemoveOccurrencesMultiset() local
237 Multiset<String> multiset = in testRemoveEmptyOccurrencesIterable() local
245 Multiset<String> multiset = in testRemoveOccurrencesMultisetIterable() local
[all …]
DSimpleAbstractMultisetTest.java68 Multiset<String> multiset = new NoRemoveMultiset<String>() { in testFastAddAllMultiset() local
82 Multiset<String> multiset = new NoRemoveMultiset<String>(); in testRemoveUnsupported() local
DTreeMultisetTest.java120 TreeMultiset<String> multiset = TreeMultiset.create(); in testCreate() local
130 Multiset<String> multiset = TreeMultiset.create(Collections.reverseOrder()); in testCreateWithComparator() local
139 Multiset<String> multiset in testCreateFromIterable() local
DConcurrentHashMultisetBasherTest.java65 final ConcurrentHashMultiset<String> multiset = new ConcurrentHashMultiset<String>(map); in testAddAndRemove() local
103 private final ConcurrentHashMultiset<String> multiset; field in ConcurrentHashMultisetBasherTest.MutateTask
107 private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) { in MutateTask()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSortedMultisets.java47 private final SortedMultiset<E> multiset; field in SortedMultisets.ElementSet
49 ElementSet(SortedMultiset<E> multiset) { in ElementSet()
53 @Override final SortedMultiset<E> multiset() { in multiset() method in SortedMultisets.ElementSet
DLinkedHashMultiset.java72 LinkedHashMultiset<E> multiset = in create() local
DHashMultiset.java61 HashMultiset<E> multiset = in create() local
DEnumMultiset.java53 EnumMultiset<E> multiset = new EnumMultiset<E>(iterator.next().getDeclaringClass()); in create() local
DImmutableMultiset.java181 Multiset<? extends E> multiset = (elements instanceof Multiset) in copyOf() local
193 Multiset<? extends E> multiset) { in copyOfInternal()
230 Multiset<E> multiset = LinkedHashMultiset.create(); in copyOf() local
/external/guava/guava/src/com/google/common/collect/
DSortedMultisets.java50 private final SortedMultiset<E> multiset; field in SortedMultisets.ElementSet
52 ElementSet(SortedMultiset<E> multiset) { in ElementSet()
56 @Override final SortedMultiset<E> multiset() { in multiset() method in SortedMultisets.ElementSet
90 NavigableElementSet(SortedMultiset<E> multiset) { in NavigableElementSet()
DSerialization.java105 Multiset<E> multiset, ObjectOutputStream stream) throws IOException { in writeMultiset()
119 Multiset<E> multiset, ObjectInputStream stream) in populateMultiset()
131 Multiset<E> multiset, ObjectInputStream stream, int distinctElements) in populateMultiset()
DImmutableMultiset.java182 Multiset<? extends E> multiset = (elements instanceof Multiset) in copyOf() local
194 Multiset<? extends E> multiset) { in copyOfInternal()
231 Multiset<E> multiset = LinkedHashMultiset.create(); in copyOf() local
DAbstractMultiset.java155 Multiset<E> multiset() { in multiset() method in AbstractMultiset.ElementSet
175 @Override Multiset<E> multiset() { in multiset() method in AbstractMultiset.EntrySet
DLinkedHashMultiset.java76 LinkedHashMultiset<E> multiset = in create() local
DHashMultiset.java65 HashMultiset<E> multiset = in create() local
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java251 void expectAddFailure(SortedMultiset<E> multiset, Entry<E> entry) { in expectAddFailure()
268 void expectRemoveZero(SortedMultiset<E> multiset, Entry<E> entry) { in expectRemoveZero()
274 void expectSetCountFailure(SortedMultiset<E> multiset, Entry<E> entry) { in expectSetCountFailure()
438 public void testEmptyRangeSubMultiset(SortedMultiset<E> multiset) { in testEmptyRangeSubMultiset()
450 public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) { in testEmptyRangeSubMultisetSupportingAdd()
472 <E> SortedMultiset<E> subMultiset(SortedMultiset<E> multiset, List<Entry<E>> entries, in subMultiset()
484 <E> SortedMultiset<E> subMultiset(SortedMultiset<E> multiset, List<Entry<E>> entries, in subMultiset()
496 <E> SortedMultiset<E> subMultiset(SortedMultiset<E> multiset, List<Entry<E>> entries, in subMultiset()
508 <E> SortedMultiset<E> subMultiset(SortedMultiset<E> multiset, List<Entry<E>> entries, in subMultiset()
515 abstract <E> SortedMultiset<E> subMultiset(SortedMultiset<E> multiset, List<Entry<E>> entries, in subMultiset()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DConcurrentHashMultisetBenchmark.java54 private Multiset<Integer> multiset; field in ConcurrentHashMultisetBenchmark
DHashMultisetAddPresentBenchmark.java42 HashMultiset<Integer> multiset = HashMultiset.<Integer>create(); in setUp() local
/external/guava/guava-gwt/src/com/google/common/collect/
DMultiset_CustomFieldSerializerBase.java34 SerializationStreamReader reader, Multiset<Object> multiset) in populate()

12