Home
last modified time | relevance | path

Searched refs:upperBoundType (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DGeneralRange.java51 BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN; in from() local
53 lowerBoundType, range.hasUpperBound(), upperEndpoint, upperBoundType); in from()
98 private final BoundType upperBoundType; field in GeneralRange
102 @Nullable T upperEndpoint, BoundType upperBoundType) { in GeneralRange() argument
109 this.upperBoundType = checkNotNull(upperBoundType); in GeneralRange()
123 checkArgument(lowerBoundType != OPEN | upperBoundType != OPEN); in GeneralRange()
264 .append(upperBoundType == CLOSED ? ']' : ')') in toString()
281 return upperBoundType; in getUpperBoundType()
DForwardingSortedMultiset.java203 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
204 return delegate().subMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); in subMultiset()
216 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in standardSubMultiset() argument
217 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in standardSubMultiset()
DUnmodifiableSortedMultiset.java102 E upperBound, BoundType upperBoundType) { in subMultiset() argument
104 lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
DRegularContiguousSet.java155 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) {
157 range.upperBound.withUpperBoundType(upperBoundType, domain));
DSortedMultiset.java137 E upperBound, BoundType upperBoundType); in subMultiset() argument
DEmptyContiguousSet.java57 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
DImmutableSortedMultiset.java372 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
375 return tailMultiset(lowerBound, lowerBoundType).headMultiset(upperBound, upperBoundType); in subMultiset()
DContiguousSet.java166 public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType); in range() argument
DRange.java421 public BoundType upperBoundType() { in upperBoundType() method in Range
DTreeRangeSet.java521 && complementLowerBoundWindow.upperBoundType() == BoundType.CLOSED;
/external/guava/guava-tests/test/com/google/common/collect/
DRangeTest.java52 assertEquals(OPEN, range.upperBoundType()); in testOpen()
79 assertEquals(CLOSED, range.upperBoundType()); in testClosed()
101 assertEquals(CLOSED, range.upperBoundType()); in testOpenClosed()
115 assertEquals(OPEN, range.upperBoundType()); in testClosedOpen()
148 assertEquals(CLOSED, range.upperBoundType()); in testSingleton()
164 assertEquals(OPEN, range.upperBoundType()); in testEmpty1()
180 assertEquals(CLOSED, range.upperBoundType()); in testEmpty2()
194 assertEquals(OPEN, range.upperBoundType()); in testLessThan()
236 assertEquals(CLOSED, range.upperBoundType()); in testAtMost()
276 range.upperBoundType(); in assertUnboundedAbove()
DForwardingSortedMultisetTest.java95 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() argument
96 return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType); in subMultiset()
DTreeRangeSetTest.java57 for (BoundType upperBoundType : BoundType.values()) {
58 queryBuilder.add(Range.range(i, lowerBoundType, j, upperBoundType)); in Range.range() argument
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DUnmodifiableSortedMultiset.java100 E upperBound, BoundType upperBoundType) { in subMultiset() argument
102 lowerBound, lowerBoundType, upperBound, upperBoundType)); in subMultiset()
DRegularContiguousSet.java136 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
138 range.upperBound.withUpperBoundType(upperBoundType, domain)); in range()
DSortedMultiset.java54 E upperBound, BoundType upperBoundType); in subMultiset() argument
DEmptyContiguousSet.java55 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range() argument
DContiguousSet.java135 public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType); in range() argument