public abstract static class CharSortedSet.SubSet extends CharSet.Base implements CharSortedSet
CharSortedSet.SubSet
CharSet.Base
Constructor and Description |
---|
SubSet(CharSortedSet set) |
Modifier and Type | Method and Description |
---|---|
boolean |
addChar(char x) |
boolean |
containsChar(char x) |
protected boolean |
excluded(char x) |
protected CharIterator |
fromIncluded(CharIterator iterator) |
protected abstract boolean |
included(char x) |
boolean |
removeChar(char x) |
int |
size() |
protected CharIterator |
untilExcluded(CharIterator iterator) |
equals, hashCode
toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparator, create, create, first, firstChar, headSet, headSet, intSpliterator, last, lastChar, subSet, subSet, tailSet, tailSet
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
addAllChars, addAllChars, removeIf, toCharArray
asReader, containsAllChars, containsAllChars, containsAnyChars, containsAnyChars, forEach, forEachChar, from, from, intIterator, intStream, of, once, parallelIntStream, read, removeAllChars, removeAllChars, removeCharsIf, retainAllChars, retainAllChars, sequence
public SubSet(CharSortedSet set)
public int size()
size
in interface java.util.Collection<java.lang.Character>
size
in interface java.util.Set<java.lang.Character>
public boolean containsChar(char x)
containsChar
in interface CharIterable
public boolean removeChar(char x)
removeChar
in interface CharIterable
public boolean addChar(char x)
addChar
in interface CharCollection
protected CharIterator untilExcluded(CharIterator iterator)
protected CharIterator fromIncluded(CharIterator iterator)
protected abstract boolean included(char x)
protected boolean excluded(char x)