/external/guava/guava/src/com/google/common/collect/ |
D | Cut.java | 46 abstract BoundType typeAsLowerBound(); in typeAsLowerBound() 47 abstract BoundType typeAsUpperBound(); in typeAsUpperBound() 49 abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain); in withLowerBoundType() 50 abstract Cut<C> withUpperBoundType(BoundType boundType, DiscreteDomain<C> domain); in withUpperBoundType() 125 @Override BoundType typeAsLowerBound() { in typeAsLowerBound() 128 @Override BoundType typeAsUpperBound() { in typeAsUpperBound() 131 @Override Cut<Comparable<?>> withLowerBoundType(BoundType boundType, in withLowerBoundType() 135 @Override Cut<Comparable<?>> withUpperBoundType(BoundType boundType, in withUpperBoundType() 191 @Override BoundType typeAsLowerBound() { in typeAsLowerBound() 194 @Override BoundType typeAsUpperBound() { in typeAsUpperBound() [all …]
|
D | GeneralRange.java | 19 import static com.google.common.collect.BoundType.CLOSED; 20 import static com.google.common.collect.BoundType.OPEN; 47 BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN; in from() 51 BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN; in from() 68 BoundType boundType) { in downTo() 77 BoundType boundType) { in upTo() 86 BoundType lowerType, @Nullable T upper, BoundType upperType) { in range() 94 private final BoundType lowerBoundType; 98 private final BoundType upperBoundType; 101 @Nullable T lowerEndpoint, BoundType lowerBoundType, boolean hasUpperBound, in GeneralRange() [all …]
|
D | SortedMultisets.java | 51 return multiset().subMultiset(fromElement, BoundType.CLOSED, toElement, in subSet() 52 BoundType.OPEN).elementSet(); in subSet() 56 return multiset().headMultiset(toElement, BoundType.OPEN).elementSet(); in headSet() 60 return multiset().tailMultiset(fromElement, BoundType.CLOSED) in tailSet() 122 BoundType boundType) { in headMultiset() 128 BoundType fromBoundType, E toElement, BoundType toBoundType) { in subMultiset() 134 BoundType boundType) { in tailMultiset()
|
D | SortedMultiset.java | 104 SortedMultiset<E> headMultiset(E upperBound, BoundType boundType); in headMultiset() 119 SortedMultiset<E> subMultiset(E lowerBound, BoundType lowerBoundType, in subMultiset() 120 E upperBound, BoundType upperBoundType); in subMultiset() 132 SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType); in tailMultiset()
|
D | RegularContiguousSet.java | 19 import static com.google.common.collect.BoundType.CLOSED; 46 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) in headSetImpl() 58 return range.intersection(Ranges.range(fromElement, BoundType.forBoolean(fromInclusive), in subSetImpl() 59 toElement, BoundType.forBoolean(toInclusive))).asSet(domain); in subSetImpl() 64 return range.intersection(Ranges.downTo(fromElement, BoundType.forBoolean(inclusive))) in tailSetImpl() 148 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range()
|
D | Ranges.java | 134 C lower, BoundType lowerType, C upper, BoundType upperType) { in range() 138 Cut<C> lowerBound = (lowerType == BoundType.OPEN) in range() 141 Cut<C> upperBound = (upperType == BoundType.OPEN) in range() 168 C endpoint, BoundType boundType) { in upTo() 200 C endpoint, BoundType boundType) { in downTo()
|
D | BoundType.java | 29 public enum BoundType { enum 43 static BoundType forBoolean(boolean inclusive) { in forBoolean()
|
D | EmptyImmutableSortedMultiset.java | 74 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() 81 public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset()
|
D | DescendingImmutableSortedMultiset.java | 73 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() 78 public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset()
|
D | EmptyContiguousSet.java | 57 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range()
|
D | ContiguousSet.java | 110 public abstract Range<C> range(BoundType lowerBoundType, BoundType upperBoundType); in range()
|
D | AbstractSortedMultiset.java | 105 public SortedMultiset<E> subMultiset(E fromElement, BoundType fromBoundType, E toElement, 106 BoundType toBoundType) {
|
D | ImmutableSortedMultiset.java | 400 public abstract ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType); in headMultiset() 404 E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) { in subMultiset() 409 public abstract ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType); in tailMultiset()
|
D | RegularImmutableSortedMultiset.java | 153 public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { 171 public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) {
|
D | Range.java | 151 public BoundType lowerBoundType() { in lowerBoundType() 180 public BoundType upperBoundType() { in upperBoundType()
|
D | Multisets.java | 260 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() 267 E lowerBound, BoundType lowerBoundType, in subMultiset() 268 E upperBound, BoundType upperBoundType) { in subMultiset() 274 public SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | GeneralRangeTest.java | 17 import static com.google.common.collect.BoundType.CLOSED; 18 import static com.google.common.collect.BoundType.OPEN; 43 for (BoundType lboundType : BoundType.values()) { in testCreateEmptyRangeFails() 44 for (BoundType uboundType : BoundType.values()) { in testCreateEmptyRangeFails() 97 for (BoundType lBoundType : BoundType.values()) { in testLowerRange() 110 for (BoundType lBoundType : BoundType.values()) { 123 for (BoundType lboundType : BoundType.values()) { 124 for (BoundType uboundType : BoundType.values()) { 178 for (BoundType endpointType : BoundType.values()) { 188 for (BoundType lowerType : BoundType.values()) { [all …]
|
D | BstRangeOpsTest.java | 17 import static com.google.common.collect.BoundType.CLOSED; 18 import static com.google.common.collect.BoundType.OPEN; 62 for (BoundType type : BoundType.values()) { in testCountInRangeLowerBound() 66 if (type == BoundType.OPEN) { in testCountInRangeLowerBound() 76 for (BoundType type : BoundType.values()) { in testCountInRangeUpperBound() 80 if (type == BoundType.CLOSED) { in testCountInRangeUpperBound() 91 for (BoundType lb : BoundType.values()) { in testCountInRangeBothBounds() 93 for (BoundType ub : BoundType.values()) { in testCountInRangeBothBounds() 94 if (i == j && lb == BoundType.OPEN && ub == BoundType.OPEN) { in testCountInRangeBothBounds() 100 if (lb == BoundType.OPEN) { in testCountInRangeBothBounds() [all …]
|
D | RangeNonGwtTest.java | 33 tester.setDefault(BoundType.class, BoundType.OPEN); in testNullPointers()
|
D | RangesTest.java | 19 import static com.google.common.collect.BoundType.CLOSED; 20 import static com.google.common.collect.BoundType.OPEN;
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | RegularContiguousSet.java | 19 import static com.google.common.collect.BoundType.CLOSED; 44 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) in headSetImpl() 56 return range.intersection(Ranges.range(fromElement, BoundType.forBoolean(fromInclusive), in subSetImpl() 57 toElement, BoundType.forBoolean(toInclusive))).asSet(domain); in subSetImpl() 62 return range.intersection(Ranges.downTo(fromElement, BoundType.forBoolean(inclusive))) in tailSetImpl() 146 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range()
|
D | EmptyContiguousSet.java | 55 @Override public Range<C> range(BoundType lowerBoundType, BoundType upperBoundType) { in range()
|
D | TreeMultiset.java | 343 public SortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { in headMultiset() 350 public SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { in tailMultiset()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | SortedMultisetTestSuiteBuilder.java | 20 import com.google.common.collect.BoundType; 184 multiset.tailMultiset(firstInclusive, BoundType.CLOSED); in createSubMultisetSuite() 186 multiset = multiset.tailMultiset(firstExclusive, BoundType.OPEN); in createSubMultisetSuite() 190 multiset = multiset.headMultiset(lastInclusive, BoundType.CLOSED); in createSubMultisetSuite() 192 multiset = multiset.headMultiset(lastExclusive, BoundType.OPEN); in createSubMultisetSuite()
|
D | MultisetNavigationTester.java | 17 import static com.google.common.collect.BoundType.CLOSED; 18 import static com.google.common.collect.BoundType.OPEN; 27 import com.google.common.collect.BoundType; 111 for (BoundType type : BoundType.values()) { in testEmptyMultisetNearby()
|