Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/collect/
DContiguousSet.java34 public abstract class ContiguousSet<C extends Comparable> extends ImmutableSortedSet<C> { class
37 ContiguousSet(DiscreteDomain<C> domain) { in ContiguousSet() method in ContiguousSet
42 @Override public ContiguousSet<C> headSet(C toElement) { in headSet()
46 @Override ContiguousSet<C> headSet(C toElement, boolean inclusive) { in headSet()
50 @Override public ContiguousSet<C> subSet(C fromElement, C toElement) { in subSet()
57 @Override ContiguousSet<C> subSet(C fromElement, boolean fromInclusive, C toElement, in subSet()
65 @Override public ContiguousSet<C> tailSet(C fromElement) { in tailSet()
69 @Override ContiguousSet<C> tailSet(C fromElement, boolean inclusive){ in tailSet()
76 /*@Override*/ abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive); in headSetImpl()
78 /*@Override*/ abstract ContiguousSet<C> subSetImpl(C fromElement, boolean fromInclusive, in subSetImpl()
[all …]
DEmptyContiguousSet.java32 final class EmptyContiguousSet<C extends Comparable> extends ContiguousSet<C> {
49 @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { in intersection()
61 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl()
65 @Override ContiguousSet<C> subSetImpl( in subSetImpl()
70 @Override ContiguousSet<C> tailSetImpl(C fromElement, boolean fromInclusive) { in tailSetImpl()
DRegularContiguousSet.java36 final class RegularContiguousSet<C extends Comparable> extends ContiguousSet<C> {
45 /* @Override */ ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl()
56 /* @Override */ ContiguousSet<C> subSetImpl(C fromElement, boolean fromInclusive, C toElement, in subSetImpl()
63 /* @Override */ ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) { in tailSetImpl()
130 @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { in intersection()
DRanges.java238 if (values instanceof ContiguousSet) { in encloseAll()
239 return ((ContiguousSet<C>) values).range(); in encloseAll()
DRange.java397 public ContiguousSet<C> asSet(DiscreteDomain<C> domain) { in asSet()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DEmptyContiguousSet.java30 final class EmptyContiguousSet<C extends Comparable> extends ContiguousSet<C> {
47 @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { in intersection()
59 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl()
63 @Override ContiguousSet<C> subSetImpl( in subSetImpl()
68 @Override ContiguousSet<C> tailSetImpl(C fromElement, boolean fromInclusive) { in tailSetImpl()
DRegularContiguousSet.java34 final class RegularContiguousSet<C extends Comparable> extends ContiguousSet<C> {
43 /* @Override */ ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { in headSetImpl()
54 /* @Override */ ContiguousSet<C> subSetImpl(C fromElement, boolean fromInclusive, C toElement, in subSetImpl()
61 /* @Override */ ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) { in tailSetImpl()
128 @Override public ContiguousSet<C> intersection(ContiguousSet<C> other) { in intersection()
/external/guava/guava-tests/test/com/google/common/collect/
DContiguousSetTest.java85 ContiguousSet<Integer> empty = Ranges.closedOpen(1, 1).asSet(integers()); in testSerialization()
89 ContiguousSet<Integer> regular = Ranges.closed(1, 3).asSet(integers()); in testSerialization()
97 ContiguousSet<Integer> enormous = Ranges.<Integer>all().asSet(integers()); in testSerialization()
100 ContiguousSet<Integer> enormousReserialized = reserialize(enormous); in testSerialization()
265 ContiguousSet<Integer> set = Ranges.closed(1, 3).asSet(integers()); in testIntersection_empty()
266 ContiguousSet<Integer> emptySet = Ranges.closedOpen(2,2).asSet(integers()); in testIntersection_empty()
274 ContiguousSet<Integer> set = Ranges.closed(1, 3).asSet(integers()); in testIntersection()