public abstract static class IntSortedSet.SubSet extends IntSet.Base implements IntSortedSet
IntSortedSet.SubSet
IntSet.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, hashCode
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparator, create, create, first, firstInt, headSet, headSet, last, lastInt, spliterator, subSet, subSet, tailSet, tailSet
add, addAll, asChars, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
addAllInts, addAllInts, removeIf, toIntArray
asInputStream, containsAllInts, containsAllInts, containsAnyInts, containsAnyInts, forEach, forEachInt, from, from, intStream, of, once, once, parallelIntStream, read, removeAllInts, removeAllInts, removeIntsIf, retainAllInts, retainAllInts, sequence
public 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 IntIterable
public boolean removeInt(int x)
removeInt
in interface IntIterable
public boolean addInt(int x)
addInt
in interface IntCollection
protected IntIterator untilExcluded(IntIterator iterator)
protected IntIterator fromIncluded(IntIterator iterator)
protected abstract boolean included(int x)
protected boolean excluded(int x)