Searched refs:sortedMultiset (Results 1 – 4 of 4) sorted by relevance
49 private SortedMultiset<E> sortedMultiset; field in MultisetNavigationTester65 sortedMultiset = cast(getMultiset()); in setUp()69 Collections.sort(entries, sortedMultiset.comparator()); in setUp()73 a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0))); in setUp()75 b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1))); in setUp()76 c = Multisets.immutableEntry(entries.get(2), sortedMultiset.count(entries.get(2))); in setUp()91 sortedMultiset = (SortedMultiset<E>) getMultiset(); in resetWithHole()96 assertNull(sortedMultiset.firstEntry()); in testEmptyMultisetFirst()98 sortedMultiset.elementSet().first(); in testEmptyMultisetFirst()106 assertNull(sortedMultiset.pollFirstEntry()); in testEmptyMultisetPollFirst()[all …]
232 ImmutableMultiset<String> sortedMultiset = in testHighestCountFirst() local235 ASSERT.that(sortedMultiset.entrySet()).hasContentsInOrder( in testHighestCountFirst()239 ASSERT.that(sortedMultiset).hasContentsInOrder( in testHighestCountFirst()
269 public static <E> ImmutableSortedMultiset<E> copyOfSorted(SortedMultiset<E> sortedMultiset) { in copyOfSorted() argument270 Comparator<? super E> comparator = sortedMultiset.comparator(); in copyOfSorted()274 return copyOfInternal(comparator, sortedMultiset); in copyOfSorted()
195 SortedMultiset<E> sortedMultiset) { in unmodifiableSortedMultiset() argument196 return new UnmodifiableSortedMultiset<E>(checkNotNull(sortedMultiset)); in unmodifiableSortedMultiset()