public abstract static class IntSortedSet.SubSet extends IntSet.Base implements IntSortedSet
IntSortedSet.SubSetIntSet.Base| Constructor and Description |
|---|
SubSet(IntSortedSet set) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInt(int x) |
boolean |
containsInt(int x) |
protected boolean |
excluded(int x) |
protected IntIterator |
fromIncluded(IntIterator iterator) |
protected abstract boolean |
included(int x) |
boolean |
removeInt(int x) |
int |
size() |
protected IntIterator |
untilExcluded(IntIterator iterator) |
equals, hashCodetoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparator, create, create, first, firstInt, headSet, headSet, last, lastInt, spliterator, subSet, subSet, tailSet, tailSetadd, addAll, asChars, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayaddAllInts, addAllInts, removeIf, toIntArrayasInputStream, containsAllInts, containsAllInts, containsAnyInts, containsAnyInts, forEach, forEachInt, from, from, intStream, of, once, once, parallelIntStream, read, removeAllInts, removeAllInts, removeIntsIf, retainAllInts, retainAllInts, sequencepublic SubSet(IntSortedSet set)
public int size()
size in interface java.util.Collection<java.lang.Integer>size in interface java.util.Set<java.lang.Integer>public boolean containsInt(int x)
containsInt in interface IntIterablepublic boolean removeInt(int x)
removeInt in interface IntIterablepublic boolean addInt(int x)
addInt in interface IntCollectionprotected IntIterator untilExcluded(IntIterator iterator)
protected IntIterator fromIncluded(IntIterator iterator)
protected abstract boolean included(int x)
protected boolean excluded(int x)