public interface CharOrderedSet extends CharSet
| 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.
|
CharOrderedSet |
copy()
A Function that does a shallow clone of the Collection itself.
|
char |
firstChar()
A method to get the first element in the set
|
CharBidirectionalIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
CharBidirectionalIterator |
iterator(char fromElement)
A type Specific Iterator starting from a given key
|
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 CharOrderedSet |
synchronize()
Creates a Wrapped OrderedSet that is Synchronized
|
default CharOrderedSet |
synchronize(java.lang.Object mutex)
Creates a Wrapped OrderedSet that is Synchronized
|
default CharOrderedSet |
unmodifiable()
Creates a Wrapped OrderedSet that is unmodifiable
|
add, contains, remChar, remove, removeaddAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArrayadd, addAll, addAll, addAll, addAll, contains, containsAll, containsAny, containsAny, parallelPrimitiveStream, pour, primitiveStream, remIf, removeAll, removeAll, removeIf, retainAll, retainAll, toCharArray, toCharArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, sortedboolean 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 lastCharOrderedSet copy()
CharCollectioncopy in interface CharCollectioncopy in interface CharSetCharBidirectionalIterator 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>char firstChar()
char pollFirstChar()
char lastChar()
char pollLastChar()
default CharOrderedSet synchronize()
synchronize in interface CharCollectionsynchronize in interface CharSetCharSets.synchronize(speiger.src.collections.chars.sets.CharSet)default CharOrderedSet synchronize(java.lang.Object mutex)
synchronize in interface CharCollectionsynchronize in interface CharSetmutex - is the controller of the synchronization blockCharSets.synchronize(speiger.src.collections.chars.sets.CharSet)default CharOrderedSet unmodifiable()
unmodifiable in interface CharCollectionunmodifiable in interface CharSetCharSets.unmodifiable(speiger.src.collections.chars.sets.CharSet)