Searched refs:sortedMultiset (Results 1 – 6 of 6) 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 …]
214 final SortedMultiset<String> sortedMultiset = createProxyInstance(SortedMultiset.class);218 return sortedMultiset;
266 ImmutableMultiset<String> sortedMultiset = in testHighestCountFirst() local269 assertThat(sortedMultiset.entrySet()).has().exactly( in testHighestCountFirst()273 assertThat(sortedMultiset).has().exactly( in testHighestCountFirst()
285 public static <E> ImmutableSortedMultiset<E> copyOfSorted(SortedMultiset<E> sortedMultiset) { in copyOfSorted() argument286 return copyOfSortedEntries(sortedMultiset.comparator(), in copyOfSorted()287 Lists.newArrayList(sortedMultiset.entrySet())); in copyOfSorted()
198 SortedMultiset<E> sortedMultiset) { in unmodifiableSortedMultiset() argument200 return new UnmodifiableSortedMultiset<E>(checkNotNull(sortedMultiset)); in unmodifiableSortedMultiset()
264 ImmutableMultiset<String> sortedMultiset = in testHighestCountFirst() local267 assertThat(sortedMultiset.entrySet()).has().exactly( in testHighestCountFirst()271 assertThat(sortedMultiset).has().exactly( in testHighestCountFirst()