Home
last modified time | relevance | path

Searched defs:multiset (Results 1 – 25 of 44) 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.java62 TreeMultiset<String> multiset in testNewTreeMultisetComparator() local
70 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty() local
78 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesEmpty() local
193 Multiset<String> multiset = in testRetainEmptyOccurrences() local
201 Multiset<String> multiset = in testRetainOccurrences() local
210 Multiset<String> multiset = in testRemoveEmptyOccurrences() local
218 Multiset<String> multiset = in testRemoveOccurrences() local
238 Multiset<String> multiset = HashMultiset.create( in testHighestCountFirst() local
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
DConstraintsTest.java267 Multiset<String> multiset = HashMultiset.create(asList("foo", "bar")); in testConstrainedMultisetLegal() local
290 Multiset<String> multiset = HashMultiset.create(asList("foo", "bar")); in testConstrainedMultisetIllegal() 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.java64 TreeMultiset<String> multiset in testNewTreeMultisetComparator() local
72 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty() local
80 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesEmpty() local
195 Multiset<String> multiset = in testRetainEmptyOccurrences() local
203 Multiset<String> multiset = in testRetainOccurrences() local
212 Multiset<String> multiset = in testRemoveEmptyOccurrences() local
220 Multiset<String> multiset = in testRemoveOccurrences() local
240 Multiset<String> multiset = HashMultiset.create( in testHighestCountFirst() local
DConcurrentHashMultisetBasherTest.java60 final ConcurrentHashMultiset<String> multiset = new ConcurrentHashMultiset<String>(map); in testAddAndRemove() local
98 private final ConcurrentHashMultiset<String> multiset; field in ConcurrentHashMultisetBasherTest.MutateTask
102 private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) { in MutateTask()
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
DSimpleAbstractMultisetTest.java68 Multiset<String> multiset = new NoRemoveMultiset<String>() { in testFastAddAllMultiset() local
82 Multiset<String> multiset = new NoRemoveMultiset<String>(); in testRemoveUnsupported() local
DConstraintsTest.java269 Multiset<String> multiset = HashMultiset.create(asList("foo", "bar")); in testConstrainedMultisetLegal() local
292 Multiset<String> multiset = HashMultiset.create(asList("foo", "bar")); in testConstrainedMultisetIllegal() local
/external/guava/guava/src/com/google/common/collect/
DSortedMultisets.java49 private final SortedMultiset<E> multiset; field in SortedMultisets.ElementSet
51 ElementSet(SortedMultiset<E> multiset) { in ElementSet()
55 @Override final SortedMultiset<E> multiset() { in multiset() method in SortedMultisets.ElementSet
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
172 @Override Multiset<E> multiset() { in multiset() method in AbstractMultiset.EntrySet
/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
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
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
/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