public abstract static class LongSortedSet.SubSet extends LongSet.Base implements LongSortedSet
LongSortedSet.SubSetLongSet.Base| Constructor and Description |
|---|
SubSet(LongSortedSet set) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addLong(long x) |
boolean |
containsLong(long x) |
protected boolean |
excluded(long x) |
protected LongIterator |
fromIncluded(LongIterator iterator) |
protected abstract boolean |
included(long x) |
boolean |
removeLong(long x) |
int |
size() |
protected LongIterator |
untilExcluded(LongIterator iterator) |
equals, hashCodetoStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparator, create, create, first, firstLong, headSet, headSet, last, lastLong, spliterator, subSet, subSet, tailSet, tailSetadd, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayaddAllLongs, addAllLongs, removeIf, toLongArraycontainsAllLongs, containsAllLongs, containsAnyLongs, containsAnyLongs, forEach, forEachLong, from, from, longStream, of, once, once, parallelLongStream, removeAllLongs, removeAllLongs, removeLongsIf, retainAllLongs, retainAllLongs, sequencepublic SubSet(LongSortedSet set)
public int size()
size in interface java.util.Collection<java.lang.Long>size in interface java.util.Set<java.lang.Long>public boolean containsLong(long x)
containsLong in interface LongIterablepublic boolean removeLong(long x)
removeLong in interface LongIterablepublic boolean addLong(long x)
addLong in interface LongCollectionprotected LongIterator untilExcluded(LongIterator iterator)
protected LongIterator fromIncluded(LongIterator iterator)
protected abstract boolean included(long x)
protected boolean excluded(long x)