Searched refs:upperEndpoint (Results 1 - 5 of 5) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
H A DGeneralRange.java50 T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
53 lowerBoundType, range.hasUpperBound(), upperEndpoint, upperBoundType);
97 private final T upperEndpoint; field in class:GeneralRange
102 @Nullable T upperEndpoint, BoundType upperBoundType) {
108 this.upperEndpoint = upperEndpoint;
115 comparator.compare(upperEndpoint, upperEndpoint);
118 int cmp = comparator.compare(lowerEndpoint, upperEndpoint);
100 GeneralRange(Comparator<? super T> comparator, boolean hasLowerBound, @Nullable T lowerEndpoint, BoundType lowerBoundType, boolean hasUpperBound, @Nullable T upperEndpoint, BoundType upperBoundType) argument
[all...]
H A DRegularContiguousSet.java137 C upperEndpoint = Ordering.natural().min(this.last(), other.last());
138 return (lowerEndpoint.compareTo(upperEndpoint) < 0)
139 ? Ranges.closed(lowerEndpoint, upperEndpoint).asSet(domain)
H A DRange.java168 public C upperEndpoint() { method in class:Range
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DRegularContiguousSet.java135 C upperEndpoint = Ordering.natural().min(this.last(), other.last());
136 return (lowerEndpoint.compareTo(upperEndpoint) < 0)
137 ? Ranges.closed(lowerEndpoint, upperEndpoint).asSet(domain)
/external/guava/guava-tests/test/com/google/common/collect/
H A DRangeTest.java48 assertEquals(8, (int) range.upperEndpoint());
75 assertEquals(7, (int) range.upperEndpoint());
97 assertEquals(7, (int) range.upperEndpoint());
111 assertEquals(8, (int) range.upperEndpoint());
144 assertEquals(4, (int) range.upperEndpoint());
160 assertEquals(4, (int) range.upperEndpoint());
176 assertEquals(4, (int) range.upperEndpoint());
190 assertEquals(5, (int) range.upperEndpoint());
232 assertEquals(4, (int) range.upperEndpoint());
267 range.upperEndpoint();
[all...]

Completed in 42 milliseconds