Lines Matching refs:fromElement
50 @Override public ContiguousSet<C> subSet(C fromElement, C toElement) {
51 checkNotNull(fromElement);
53 checkArgument(comparator().compare(fromElement, toElement) <= 0);
54 return subSet(fromElement, true, toElement, false);
57 @Override ContiguousSet<C> subSet(C fromElement, boolean fromInclusive, C toElement,
59 checkNotNull(fromElement);
61 checkArgument(comparator().compare(fromElement, toElement) <= 0);
62 return subSetImpl(fromElement, fromInclusive, toElement, toInclusive);
65 @Override public ContiguousSet<C> tailSet(C fromElement) {
66 return tailSet(checkNotNull(fromElement), true);
69 @Override ContiguousSet<C> tailSet(C fromElement, boolean inclusive){
70 return tailSetImpl(checkNotNull(fromElement), inclusive);
78 /*@Override*/ abstract ContiguousSet<C> subSetImpl(C fromElement, boolean fromInclusive,
81 /*@Override*/ abstract ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive);