Home
last modified time | relevance | path

Searched refs:upperEndpoint (Results 1 – 7 of 7) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DGeneralRange.java50 T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null; in from() local
53 lowerBoundType, range.hasUpperBound(), upperEndpoint, upperBoundType); in from()
97 private final T upperEndpoint; field in GeneralRange
102 @Nullable T upperEndpoint, BoundType upperBoundType) { in GeneralRange() argument
108 this.upperEndpoint = upperEndpoint; in GeneralRange()
115 comparator.compare(upperEndpoint, upperEndpoint); in GeneralRange()
118 int cmp = comparator.compare(lowerEndpoint, upperEndpoint); in GeneralRange()
121 upperEndpoint); in GeneralRange()
263 .append(hasUpperBound ? upperEndpoint : "\u221e") in toString()
277 return upperEndpoint; in getUpperEndpoint()
DRegularContiguousSet.java144 C upperEndpoint = Ordering.natural().min(this.last(), other.last());
145 return (lowerEndpoint.compareTo(upperEndpoint) < 0)
146 ? ContiguousSet.create(Range.closed(lowerEndpoint, upperEndpoint), domain)
DRange.java410 public C upperEndpoint() { in upperEndpoint() method in Range
DTreeRangeSet.java359 candidates = rangesByLowerBound.headMap(upperBoundWindow.upperEndpoint(), false)
518 ? complementLowerBoundWindow.upperEndpoint()
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java51 assertEquals(8, (int) range.upperEndpoint()); in testOpen()
78 assertEquals(7, (int) range.upperEndpoint()); in testClosed()
100 assertEquals(7, (int) range.upperEndpoint()); in testOpenClosed()
114 assertEquals(8, (int) range.upperEndpoint()); in testClosedOpen()
147 assertEquals(4, (int) range.upperEndpoint()); in testSingleton()
163 assertEquals(4, (int) range.upperEndpoint()); in testEmpty1()
179 assertEquals(4, (int) range.upperEndpoint()); in testEmpty2()
193 assertEquals(5, (int) range.upperEndpoint()); in testLessThan()
235 assertEquals(4, (int) range.upperEndpoint()); in testAtMost()
271 range.upperEndpoint(); in assertUnboundedAbove()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DRegularContiguousSet.java125 C upperEndpoint = Ordering.natural().min(this.last(), other.last()); in intersection() local
126 return (lowerEndpoint.compareTo(upperEndpoint) < 0) in intersection()
127 ? ContiguousSet.create(Range.closed(lowerEndpoint, upperEndpoint), domain) in intersection()
/external/turbine/java/com/google/turbine/diag/
DLineMap.java80 return source.substring(range.lowerEndpoint(), range.upperEndpoint()); in line()