Home
last modified time | relevance | path

Searched refs:tailMultiset (Results 1 – 22 of 22) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java113 assertNull(sortedMultiset.tailMultiset(samples.e0, type).firstEntry()); in testEmptyMultisetNearby()
147 assertNull(sortedMultiset.tailMultiset(samples.e0, OPEN).lastEntry()); in testSingletonMultisetNearby()
150 assertEquals(a, sortedMultiset.tailMultiset(samples.e0, CLOSED).firstEntry()); in testSingletonMultisetNearby()
206 assertEquals(a, sortedMultiset.tailMultiset(a.getElement(), CLOSED).firstEntry()); in testCeiling()
207 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); in testCeiling()
208 assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); in testCeiling()
214 assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry()); in testHigher()
215 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), OPEN).firstEntry()); in testHigher()
216 assertEquals(null, sortedMultiset.tailMultiset(c.getElement(), OPEN).firstEntry()); in testHigher()
287 expectAddFailure(sortedMultiset.tailMultiset(a.getElement(), OPEN), a); in testAddOutOfTailBoundsOne()
[all …]
DSortedMultisetTestSuiteBuilder.java209 multiset.tailMultiset(firstInclusive, BoundType.CLOSED); in createSubMultisetSuite()
211 multiset = multiset.tailMultiset(firstExclusive, BoundType.OPEN); in createSubMultisetSuite()
/external/guava/guava/src/com/google/common/collect/
DSortedMultisets.java73 return multiset().tailMultiset(fromElement, CLOSED).elementSet(); in tailSet()
106 return getElementOrNull(multiset().tailMultiset(e, CLOSED).firstEntry()); in ceiling()
111 return getElementOrNull(multiset().tailMultiset(e, OPEN).firstEntry()); in higher()
151 multiset().tailMultiset(fromElement, BoundType.forBoolean(inclusive))); in tailSet()
DForwardingSortedMultiset.java217 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in standardSubMultiset()
221 public SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset() method in ForwardingSortedMultiset
222 return delegate().tailMultiset(lowerBound, boundType); in tailMultiset()
DDescendingImmutableSortedMultiset.java69 return forward.tailMultiset(upperBound, boundType).descendingMultiset(); in headMultiset()
73 public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset() method in DescendingImmutableSortedMultiset
DUnmodifiableSortedMultiset.java108 public SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset() method in UnmodifiableSortedMultiset
110 delegate().tailMultiset(lowerBound, boundType)); in tailMultiset()
DDescendingMultiset.java68 return forwardMultiset().tailMultiset(toElement, boundType) in headMultiset()
78 @Override public SortedMultiset<E> tailMultiset(E fromElement, in tailMultiset() method in DescendingMultiset
DSortedMultiset.java149 SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType); in tailMultiset() method
DEmptyImmutableSortedMultiset.java80 public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset() method in EmptyImmutableSortedMultiset
DRegularImmutableSortedMultiset.java91 public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset() method in RegularImmutableSortedMultiset
DImmutableSortedMultiset.java375 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in subMultiset()
379 public abstract ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType); in tailMultiset() method in ImmutableSortedMultiset
DAbstractSortedMultiset.java107 return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType); in subMultiset()
DTreeMultiset.java493 public SortedMultiset<E> tailMultiset(@Nullable E lowerBound, BoundType boundType) {
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DUnmodifiableSortedMultiset.java106 public SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset() method in UnmodifiableSortedMultiset
108 delegate().tailMultiset(lowerBound, boundType)); in tailMultiset()
DDescendingMultiset.java68 return forwardMultiset().tailMultiset(toElement, boundType) in headMultiset()
78 @Override public SortedMultiset<E> tailMultiset(E fromElement, in tailMultiset() method in DescendingMultiset
DSortedMultiset.java56 SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType); in tailMultiset() method
DSortedMultisets.java70 return multiset().tailMultiset(fromElement, CLOSED).elementSet(); in tailSet()
DAbstractSortedMultiset.java107 return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType); in subMultiset()
DTreeMultiset.java489 public SortedMultiset<E> tailMultiset(@Nullable E lowerBound, BoundType boundType) {
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DTreeMultisetTest.java270 assertEquals(3, ms.tailMultiset("c", CLOSED).size()); in testSubMultisetSize()
271 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size()); in testSubMultisetSize()
272 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size()); in testSubMultisetSize()
/external/guava/guava-tests/test/com/google/common/collect/
DTreeMultisetTest.java350 assertEquals(3, ms.tailMultiset("c", CLOSED).size()); in testSubMultisetSize()
351 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("b", CLOSED).size()); in testSubMultisetSize()
352 assertEquals(Integer.MAX_VALUE, ms.tailMultiset("a", CLOSED).size()); in testSubMultisetSize()
DForwardingSortedMultisetTest.java264 forward().tailMultiset("last", OPEN);