Home
last modified time | relevance | path

Searched refs:hasUpperBound (Results 1 – 9 of 9) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DGeneralRange.java50 T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null; in from()
51 BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN; in from()
53 lowerBoundType, range.hasUpperBound(), upperEndpoint, upperBoundType); in from()
95 private final boolean hasUpperBound; field in GeneralRange
101 @Nullable T lowerEndpoint, BoundType lowerBoundType, boolean hasUpperBound, in GeneralRange() argument
105 this.hasUpperBound = hasUpperBound; in GeneralRange()
114 if (hasUpperBound) { in GeneralRange()
117 if (hasLowerBound && hasUpperBound) { in GeneralRange()
136 boolean hasUpperBound() { in hasUpperBound() method in GeneralRange
137 return hasUpperBound; in hasUpperBound()
[all …]
DImmutableRangeSet.java196 this.positiveBoundedAbove = Iterables.getLast(ranges).hasUpperBound(); in ComplementRanges()
277 if (range.hasUpperBound()) { in intersectRanges()
358 } else if (!span.hasUpperBound()) {
DTreeRangeSet.java198 if (rangeToRemove.hasUpperBound() in remove()
213 if (rangeToRemove.hasUpperBound() in remove()
358 if (upperBoundWindow.hasUpperBound()) {
517 Cut<C> startingPoint = complementLowerBoundWindow.hasUpperBound()
520 boolean inclusive = complementLowerBoundWindow.hasUpperBound()
DContiguousSet.java61 if (!range.hasUpperBound()) { in create()
DTreeMultiset.java167 if (range.hasUpperBound()) { in aggregateForEntries()
384 if (range.hasUpperBound()) {
DRange.java400 public boolean hasUpperBound() { in hasUpperBound() method in Range
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java50 assertTrue(range.hasUpperBound()); in testOpen()
77 assertTrue(range.hasUpperBound()); in testClosed()
99 assertTrue(range.hasUpperBound()); in testOpenClosed()
113 assertTrue(range.hasUpperBound()); in testClosedOpen()
146 assertTrue(range.hasUpperBound()); in testSingleton()
162 assertTrue(range.hasUpperBound()); in testEmpty1()
178 assertTrue(range.hasUpperBound()); in testEmpty2()
192 assertTrue(range.hasUpperBound()); in testLessThan()
234 assertTrue(range.hasUpperBound()); in testAtMost()
269 assertFalse(range.hasUpperBound()); in assertUnboundedAbove()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DContiguousSet.java58 if (!range.hasUpperBound()) { in create()
DTreeMultiset.java163 if (range.hasUpperBound()) { in aggregateForEntries()
380 if (range.hasUpperBound()) {