Home
last modified time | relevance | path

Searched refs:lowerEndpoint (Results 1 – 8 of 8) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DGeneralRange.java46 T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null; in from() local
52 return new GeneralRange<T>(Ordering.natural(), range.hasLowerBound(), lowerEndpoint, in from()
93 private final T lowerEndpoint; field in GeneralRange
101 @Nullable T lowerEndpoint, BoundType lowerBoundType, boolean hasUpperBound, in GeneralRange() argument
106 this.lowerEndpoint = lowerEndpoint; in GeneralRange()
112 comparator.compare(lowerEndpoint, lowerEndpoint); in GeneralRange()
118 int cmp = comparator.compare(lowerEndpoint, upperEndpoint); in GeneralRange()
120 checkArgument(cmp <= 0, "lowerEndpoint (%s) > upperEndpoint (%s)", lowerEndpoint, in GeneralRange()
261 .append(hasLowerBound ? lowerEndpoint : "-\u221e") in toString()
269 return lowerEndpoint; in getLowerEndpoint()
DRegularContiguousSet.java143 C lowerEndpoint = Ordering.natural().max(this.first(), other.first());
145 return (lowerEndpoint.compareTo(upperEndpoint) < 0)
146 ? ContiguousSet.create(Range.closed(lowerEndpoint, upperEndpoint), domain)
DTreeRangeSet.java329 rangesByLowerBound.lowerEntry(upperBoundWindow.lowerEndpoint()); in entryIterator()
335 backingItr = rangesByLowerBound.tailMap(upperBoundWindow.lowerEndpoint(), true) in entryIterator()
468 complementLowerBoundWindow.lowerEndpoint(),
DRange.java382 public C lowerEndpoint() { in lowerEndpoint() method in Range
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java48 assertEquals(4, (int) range.lowerEndpoint()); in testOpen()
75 assertEquals(5, (int) range.lowerEndpoint()); in testClosed()
97 assertEquals(4, (int) range.lowerEndpoint()); in testOpenClosed()
111 assertEquals(5, (int) range.lowerEndpoint()); in testClosedOpen()
144 assertEquals(4, (int) range.lowerEndpoint()); in testSingleton()
160 assertEquals(4, (int) range.lowerEndpoint()); in testEmpty1()
176 assertEquals(4, (int) range.lowerEndpoint()); in testEmpty2()
206 assertEquals(5, (int) range.lowerEndpoint()); in testGreaterThan()
220 assertEquals(6, (int) range.lowerEndpoint()); in testAtLeast()
257 range.lowerEndpoint(); in assertUnboundedBelow()
DTreeRangeSetTest.java447 if (a.lowerEndpoint() < b.lowerEndpoint()) { in doPairTest()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DRegularContiguousSet.java124 C lowerEndpoint = Ordering.natural().max(this.first(), other.first()); 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.java67 return position - lines.getEntry(position).getKey().lowerEndpoint(); in column()
80 return source.substring(range.lowerEndpoint(), range.upperEndpoint()); in line()