Home
last modified time | relevance | path

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

12

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableMultisetTest.java95 Multiset<String> multiset = ImmutableMultiset.of(); in testCreation_noArgs() local
100 Multiset<String> multiset = ImmutableMultiset.of("a"); in testCreation_oneElement() local
105 Multiset<String> multiset = ImmutableMultiset.of("a", "b"); in testCreation_twoElements() local
110 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c"); in testCreation_threeElements() local
115 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c", "d"); in testCreation_fourElements() local
120 Multiset<String> multiset = ImmutableMultiset.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local
126 Multiset<String> multiset = ImmutableMultiset.of( in testCreation_sixElements() local
133 Multiset<String> multiset = ImmutableMultiset.of( in testCreation_sevenElements() local
142 Multiset<String> multiset = ImmutableMultiset.copyOf(array); in testCreation_emptyArray() local
148 Multiset<String> multiset = ImmutableMultiset.copyOf(array); in testCreation_arrayOfOneElement() local
[all …]
DImmutableSortedMultisetTest.java102 Multiset<String> multiset = ImmutableSortedMultiset.of(); in testCreation_noArgs() local
107 Multiset<String> multiset = ImmutableSortedMultiset.of("a"); in testCreation_oneElement() local
112 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b"); in testCreation_twoElements() local
117 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c"); in testCreation_threeElements() local
122 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c", "d"); in testCreation_fourElements() local
127 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local
132 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local
137 Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local
143 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array); in testCreation_emptyArray() local
149 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array); in testCreation_arrayOfOneElement() local
[all …]
DHashMultisetTest.java39 Multiset<String> multiset = HashMultiset.create(); in testCreate() local
47 Multiset<String> multiset = HashMultiset.create(50); in testCreateWithSize() local
55 Multiset<String> multiset in testCreateFromIterable() local
63 Multiset<Multiset<?>> multiset = HashMultiset.create(); in testSerializationContainingSelf() local
73 MultisetHolder(Multiset<?> multiset) { in MultisetHolder()
81 Multiset<MultisetHolder> multiset = HashMultiset.create(); in testSerializationIndirectSelfReference() local
DMultisetsTest.java51 Multiset<String> multiset = HashMultiset.create(); in testForSet() local
104 Multiset<String> multiset = HashMultiset.create(); in testForSetSerialization() local
132 TreeMultiset<String> multiset in testNewTreeMultisetComparator() local
140 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty() local
148 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesEmpty() local
185 Multiset<String> multiset = in testRetainEmptyOccurrences() local
193 Multiset<String> multiset = in testRetainOccurrences() local
202 Multiset<String> multiset = in testRemoveEmptyOccurrences() local
210 Multiset<String> multiset = in testRemoveOccurrences() local
230 Multiset<String> multiset = HashMultiset.create( in testHighestCountFirst() local
DConcurrentHashMultisetTest.java55 ConcurrentHashMultiset<String> multiset; field in ConcurrentHashMultisetTest
249 ConcurrentHashMultiset<String> multiset; in testIterator() local
260 assertEquals(ImmutableMultiset.copyOf(elements), multiset); in testIterator() local
276 ConcurrentHashMultiset<String> multiset; in testEntryIterator() local
330 ConcurrentHashMultiset<Integer> multiset = ConcurrentHashMultiset.create(); in testCreate() local
337 ConcurrentHashMultiset<Integer> multiset in testCreateFromIterable() local
362 ConcurrentHashMultiset<String> multiset = in testIdentityKeyEquality() local
405 ConcurrentHashMultiset<String> multiset = in testLogicalKeyEquality() local
451 ConcurrentHashMultiset<String> multiset = in testSerializationWithMapMaker_preservesIdentityKeyEquivalence() local
536 ConcurrentHashMultiset<String> multiset = ConcurrentHashMultiset.create(mapMaker); in testWithMapMakerEvictionListener() local
DLinkedHashMultisetTest.java43 Multiset<String> multiset = LinkedHashMultiset.create(); in testCreate() local
52 Multiset<String> multiset = LinkedHashMultiset.create(50); in testCreateWithSize() local
61 Multiset<String> multiset in testCreateFromIterable() local
DSimpleAbstractMultisetTest.java43 Multiset<String> multiset = new NoRemoveMultiset<String>() { in testFastAddAllMultiset() local
57 Multiset<String> multiset = new NoRemoveMultiset<String>(); in testRemoveUnsupported() 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()
DTreeMultisetTest.java49 TreeMultiset<String> multiset = TreeMultiset.create(); in testCreate() local
59 Multiset<String> multiset = TreeMultiset.create(Collections.reverseOrder()); in testCreateWithComparator() local
68 Multiset<String> multiset in testCreateFromIterable() local
DConstraintsTest.java265 Multiset<String> multiset = HashMultiset.create(asList("foo", "bar")); in testConstrainedMultisetLegal() local
288 Multiset<String> multiset = HashMultiset.create(asList("foo", "bar")); in testConstrainedMultisetIllegal() local
DAbstractMultimapTest.java642 Multiset<String> multiset = multimap.keys(); in testKeys() local
681 Multiset<String> multiset = multimap.keys(); in testKeysAdd() local
699 Multiset<String> multiset = multimap.keys(); in testKeysContainsAll() local
710 Multiset<String> multiset = multimap.keys(); in testKeysClear() local
/external/guava/guava/src/com/google/common/collect/
DImmutableMultiset.java191 Multiset<? extends E> multiset = (elements instanceof Multiset) in copyOf() local
203 Multiset<? extends E> multiset) { in copyOfInternal()
239 Multiset<E> multiset = LinkedHashMultiset.create(); in copyOf() local
365 transient final ImmutableMultiset<E> multiset; field in EntrySet
367 public EntrySet(ImmutableMultiset<E> multiset) { in EntrySet()
443 final ImmutableMultiset<E> multiset; field in EntrySet.EntrySetSerializedForm
445 EntrySetSerializedForm(ImmutableMultiset<E> multiset) { in EntrySetSerializedForm()
461 SerializedForm(Multiset<?> multiset) { in SerializedForm()
474 LinkedHashMultiset<Object> multiset = in readResolve() local
601 Multiset<? extends E> multiset = Multisets.cast(elements); in addAll() local
DSortedIterables.java124 TreeMultiset<E> multiset = TreeMultiset.create(comparator); in sortedCounts() local
136 Multiset<E> multiset = (Multiset<E>) elements; in sortedCounts() local
182 TreeMultiset<E> multiset = TreeMultiset.create(comparator); in sortedCounts() local
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()
DAbstractMultiset.java155 Multiset<E> multiset() { in multiset() method in AbstractMultiset.ElementSet
172 @Override Multiset<E> multiset() { in multiset() method in AbstractMultiset.EntrySet
DHashMultiset.java65 HashMultiset<E> multiset = in create() local
DEnumMultiset.java53 EnumMultiset<E> multiset = new EnumMultiset<E>(iterator.next().getDeclaringClass()); in create() local
DLinkedHashMultiset.java72 LinkedHashMultiset<E> multiset = in create() local
DSortedMultisets.java44 @Override abstract SortedMultiset<E> multiset(); in multiset() method in SortedMultisets.ElementSet
/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()
DSortedMultisetTestSuiteBuilder.java177 SortedMultiset<E> multiset = in createSubMultisetSuite() local
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEnumMultiset.java49 EnumMultiset<E> multiset = new EnumMultiset<E>(iterator.next().getDeclaringClass()); in create() local
DHashMultiset.java61 HashMultiset<E> multiset = in create() local
DLinkedHashMultiset.java68 LinkedHashMultiset<E> multiset = in create() local
/external/guava/guava-gwt/src/com/google/common/collect/
DMultiset_CustomFieldSerializerBase.java47 SerializationStreamReader reader, Multiset<Object> multiset) in populate()

12