Home
last modified time | relevance | path

Searched refs:upperBoundType (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DGeneralRange.java51 BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN; in from() local
53 lowerBoundType, range.hasUpperBound(), upperEndpoint, upperBoundType); in from()
98 private final BoundType upperBoundType; field in GeneralRange
102 @Nullable T upperEndpoint, BoundType upperBoundType) { in GeneralRange() argument
109 this.upperBoundType = checkNotNull(upperBoundType); in GeneralRange()
123 checkArgument(lowerBoundType != OPEN | upperBoundType != OPEN); in GeneralRange()
160 return cmp > 0 | (cmp == 0 & upperBoundType == OPEN); in tooHigh()
193 BoundType upType = upperBoundType; in intersect()
197 upType = other.upperBoundType; in intersect()
200 if (cmp > 0 || (cmp == 0 && other.upperBoundType == OPEN)) { in intersect()
[all …]
DRegularContiguousSet.java148 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
150 range.upperBound.withUpperBoundType(upperBoundType, domain)); in range()
DSortedMultiset.java120 E upperBound, BoundType upperBoundType); in subMultiset() argument
DEmptyContiguousSet.java57 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
DContiguousSet.java110 public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType); in range() argument
DImmutableSortedMultiset.java404 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
405 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in subMultiset()
DRange.java180 public BoundType upperBoundType() { in upperBoundType() method in Range
DMultisets.java268 E upperBound, BoundType upperBoundType) { in subMultiset() argument
270 lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java49 assertEquals(OPEN, range.upperBoundType()); in testOpen()
76 assertEquals(CLOSED, range.upperBoundType()); in testClosed()
98 assertEquals(CLOSED, range.upperBoundType()); in testOpenClosed()
112 assertEquals(OPEN, range.upperBoundType()); in testClosedOpen()
145 assertEquals(CLOSED, range.upperBoundType()); in testSingleton()
161 assertEquals(OPEN, range.upperBoundType()); in testEmpty1()
177 assertEquals(CLOSED, range.upperBoundType()); in testEmpty2()
191 assertEquals(OPEN, range.upperBoundType()); in testLessThan()
233 assertEquals(CLOSED, range.upperBoundType()); in testAtMost()
272 range.upperBoundType(); in assertUnboundedAbove()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DRegularContiguousSet.java146 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
148 range.upperBound.withUpperBoundType(upperBoundType, domain)); in range()
DEmptyContiguousSet.java55 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument