public interface CharSortedSet extends CharSet, java.util.SortedSet<java.lang.Character>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(char o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(char o)
A customized add method that allows you to insert into the last index.
|
CharComparator |
comparator()
A Type Specific Comparator method
|
default java.lang.Character |
first()
Deprecated.
|
char |
firstChar()
A method to get the first element in the set
|
CharSortedSet |
headSet(char toElement)
A Type Specific HeadSet method to reduce boxing/unboxing
|
default CharSortedSet |
headSet(java.lang.Character toElement)
Deprecated.
|
CharBidirectionalIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
CharBidirectionalIterator |
iterator(char fromElement)
A type Specific Iterator starting from a given key
|
default java.lang.Character |
last()
Deprecated.
|
char |
lastChar()
A method to get the last element in the set
|
boolean |
moveToFirst(char o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(char o)
A specific move method to move a given key to the last index.
|
char |
pollFirstChar()
A method to get and remove the first element in the set
|
char |
pollLastChar()
A method to get and remove the last element in the set
|
default CharSplititerator |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
default CharSortedSet |
subSet(java.lang.Character fromElement,
java.lang.Character toElement)
Deprecated.
|
CharSortedSet |
subSet(char fromElement,
char toElement)
A Type Specific SubSet method to reduce boxing/unboxing
|
CharSortedSet |
tailSet(char fromElement)
A Type Specific TailSet method to reduce boxing/unboxing
|
default CharSortedSet |
tailSet(java.lang.Character fromElement)
Deprecated.
|
add, contains, remChar, remove, removeadd, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, primitiveStream, remIf, removeAll, removeIf, retainAll, toCharArray, toCharArrayforEach, forEachboolean addAndMoveToFirst(char o)
o - the element that should be insertedSet.add(Object)boolean addAndMoveToLast(char o)
o - the element that should be insertedSet.add(Object)boolean moveToFirst(char o)
o - that should be moved to the first indexboolean moveToLast(char o)
o - that should be moved to the first lastCharComparator comparator()
comparator in interface java.util.SortedSet<java.lang.Character>CharBidirectionalIterator iterator()
CharCollectioniterator in interface CharCollectioniterator in interface CharIterableiterator in interface CharSetiterator in interface java.util.Collection<java.lang.Character>iterator in interface java.lang.Iterable<java.lang.Character>iterator in interface java.util.Set<java.lang.Character>Collection.iterator()CharBidirectionalIterator iterator(char fromElement)
fromElement - the element the iterator should start fromjava.util.NoSuchElementException - if fromElement isn't founddefault CharSplititerator spliterator()
spliterator in interface CharCollectionspliterator in interface CharIterablespliterator in interface CharSetspliterator in interface java.util.Collection<java.lang.Character>spliterator in interface java.lang.Iterable<java.lang.Character>spliterator in interface java.util.Set<java.lang.Character>spliterator in interface java.util.SortedSet<java.lang.Character>CharSortedSet subSet(char fromElement, char toElement)
fromElement - where the SubSet should starttoElement - where the SubSet should endCharSortedSet headSet(char toElement)
toElement - where the HeadSet should endCharSortedSet tailSet(char fromElement)
fromElement - where the TailSet should startchar firstChar()
char pollFirstChar()
char lastChar()
char pollLastChar()
@Deprecated default CharSortedSet subSet(java.lang.Character fromElement, java.lang.Character toElement)
subSet in interface java.util.SortedSet<java.lang.Character>@Deprecated default CharSortedSet headSet(java.lang.Character toElement)
headSet in interface java.util.SortedSet<java.lang.Character>@Deprecated default CharSortedSet tailSet(java.lang.Character fromElement)
tailSet in interface java.util.SortedSet<java.lang.Character>@Deprecated default java.lang.Character first()
first in interface java.util.SortedSet<java.lang.Character>@Deprecated default java.lang.Character last()
last in interface java.util.SortedSet<java.lang.Character>