/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableMultisetTest.java | 95 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 …]
|
D | ImmutableSortedMultisetTest.java | 102 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 …]
|
D | HashMultisetTest.java | 39 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
|
D | MultisetsTest.java | 51 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
|
D | ConcurrentHashMultisetTest.java | 55 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
|
D | LinkedHashMultisetTest.java | 43 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
|
D | SimpleAbstractMultisetTest.java | 43 Multiset<String> multiset = new NoRemoveMultiset<String>() { in testFastAddAllMultiset() local 57 Multiset<String> multiset = new NoRemoveMultiset<String>(); in testRemoveUnsupported() local
|
D | ConcurrentHashMultisetBasherTest.java | 65 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()
|
D | TreeMultisetTest.java | 49 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
|
D | ConstraintsTest.java | 265 Multiset<String> multiset = HashMultiset.create(asList("foo", "bar")); in testConstrainedMultisetLegal() local 288 Multiset<String> multiset = HashMultiset.create(asList("foo", "bar")); in testConstrainedMultisetIllegal() local
|
D | AbstractMultimapTest.java | 642 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/ |
D | ImmutableMultiset.java | 191 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
|
D | SortedIterables.java | 124 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
|
D | Serialization.java | 105 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()
|
D | AbstractMultiset.java | 155 Multiset<E> multiset() { in multiset() method in AbstractMultiset.ElementSet 172 @Override Multiset<E> multiset() { in multiset() method in AbstractMultiset.EntrySet
|
D | HashMultiset.java | 65 HashMultiset<E> multiset = in create() local
|
D | EnumMultiset.java | 53 EnumMultiset<E> multiset = new EnumMultiset<E>(iterator.next().getDeclaringClass()); in create() local
|
D | LinkedHashMultiset.java | 72 LinkedHashMultiset<E> multiset = in create() local
|
D | SortedMultisets.java | 44 @Override abstract SortedMultiset<E> multiset(); in multiset() method in SortedMultisets.ElementSet
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetNavigationTester.java | 251 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()
|
D | SortedMultisetTestSuiteBuilder.java | 177 SortedMultiset<E> multiset = in createSubMultisetSuite() local
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | EnumMultiset.java | 49 EnumMultiset<E> multiset = new EnumMultiset<E>(iterator.next().getDeclaringClass()); in create() local
|
D | HashMultiset.java | 61 HashMultiset<E> multiset = in create() local
|
D | LinkedHashMultiset.java | 68 LinkedHashMultiset<E> multiset = in create() local
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
D | Multiset_CustomFieldSerializerBase.java | 47 SerializationStreamReader reader, Multiset<Object> multiset) in populate()
|