Home
last modified time | relevance | path

Searched refs:sortedMultiset (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java49 private SortedMultiset<E> sortedMultiset; field in MultisetNavigationTester
65 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 …]
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingSortedMultisetTest.java214 final SortedMultiset<String> sortedMultiset = createProxyInstance(SortedMultiset.class);
218 return sortedMultiset;
DMultisetsTest.java266 ImmutableMultiset<String> sortedMultiset = in testHighestCountFirst() local
269 assertThat(sortedMultiset.entrySet()).has().exactly( in testHighestCountFirst()
273 assertThat(sortedMultiset).has().exactly( in testHighestCountFirst()
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedMultiset.java285 public static <E> ImmutableSortedMultiset<E> copyOfSorted(SortedMultiset<E> sortedMultiset) { in copyOfSorted() argument
286 return copyOfSortedEntries(sortedMultiset.comparator(), in copyOfSorted()
287 Lists.newArrayList(sortedMultiset.entrySet())); in copyOfSorted()
DMultisets.java198 SortedMultiset<E> sortedMultiset) { in unmodifiableSortedMultiset() argument
200 return new UnmodifiableSortedMultiset<E>(checkNotNull(sortedMultiset)); in unmodifiableSortedMultiset()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMultisetsTest.java264 ImmutableMultiset<String> sortedMultiset = in testHighestCountFirst() local
267 assertThat(sortedMultiset.entrySet()).has().exactly( in testHighestCountFirst()
271 assertThat(sortedMultiset).has().exactly( in testHighestCountFirst()