Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/collect/
DGeneralRange.java47 BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN; in from() local
53 lowerBoundType, range.hasUpperBound(), upperEndpoint, upperBoundType); in from()
94 private final BoundType lowerBoundType; field in GeneralRange
101 @Nullable T lowerEndpoint, BoundType lowerBoundType, boolean hasUpperBound, in GeneralRange() argument
107 this.lowerBoundType = checkNotNull(lowerBoundType); in GeneralRange()
123 checkArgument(lowerBoundType != OPEN | upperBoundType != OPEN); in GeneralRange()
151 return cmp < 0 | (cmp == 0 & lowerBoundType == OPEN); in tooLow()
177 BoundType lowType = lowerBoundType; in intersect()
181 lowType = other.lowerBoundType; in intersect()
184 if (cmp < 0 || (cmp == 0 && other.lowerBoundType == OPEN)) { in intersect()
[all …]
DRegularContiguousSet.java148 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
149 return Ranges.create(range.lowerBound.withLowerBoundType(lowerBoundType, domain), in range()
DSortedMultiset.java119 SortedMultiset<E> subMultiset(E lowerBound, BoundType lowerBoundType, 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.java151 public BoundType lowerBoundType() { in lowerBoundType() method in Range
DMultisets.java267 E lowerBound, BoundType lowerBoundType, in subMultiset() argument
270 lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java46 assertEquals(OPEN, range.lowerBoundType()); in testOpen()
73 assertEquals(CLOSED, range.lowerBoundType()); in testClosed()
95 assertEquals(OPEN, range.lowerBoundType()); in testOpenClosed()
109 assertEquals(CLOSED, range.lowerBoundType()); in testClosedOpen()
142 assertEquals(CLOSED, range.lowerBoundType()); in testSingleton()
158 assertEquals(CLOSED, range.lowerBoundType()); in testEmpty1()
174 assertEquals(OPEN, range.lowerBoundType()); in testEmpty2()
204 assertEquals(OPEN, range.lowerBoundType()); in testGreaterThan()
218 assertEquals(CLOSED, range.lowerBoundType()); in testAtLeast()
258 range.lowerBoundType(); in assertUnboundedBelow()
/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
147 return Ranges.create(range.lowerBound.withLowerBoundType(lowerBoundType, domain), in range()
DEmptyContiguousSet.java55 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument