/external/guava/guava/src/com/google/common/collect/ |
D | GeneralRange.java | 47 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 …]
|
D | RegularContiguousSet.java | 148 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument 149 return Ranges.create(range.lowerBound.withLowerBoundType(lowerBoundType, domain), in range()
|
D | SortedMultiset.java | 119 SortedMultiset<E> subMultiset(E lowerBound, BoundType lowerBoundType, in subMultiset() argument
|
D | EmptyContiguousSet.java | 57 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
|
D | ContiguousSet.java | 110 public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType); in range() argument
|
D | ImmutableSortedMultiset.java | 404 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument 405 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in subMultiset()
|
D | Range.java | 151 public BoundType lowerBoundType() { in lowerBoundType() method in Range
|
D | Multisets.java | 267 E lowerBound, BoundType lowerBoundType, in subMultiset() argument 270 lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | RangeTest.java | 46 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/ |
D | RegularContiguousSet.java | 146 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument 147 return Ranges.create(range.lowerBound.withLowerBoundType(lowerBoundType, domain), in range()
|
D | EmptyContiguousSet.java | 55 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
|