public interface FloatOrderedSet extends FloatSet
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(float o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(float o)
A customized add method that allows you to insert into the last index.
|
FloatOrderedSet |
copy()
A Function that does a shallow clone of the Collection itself.
|
float |
firstFloat()
A method to get the first element in the set
|
FloatBidirectionalIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
FloatBidirectionalIterator |
iterator(float fromElement)
A type Specific Iterator starting from a given key
|
float |
lastFloat()
A method to get the last element in the set
|
boolean |
moveToFirst(float o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(float o)
A specific move method to move a given key to the last index.
|
float |
pollFirstFloat()
A method to get and remove the first element in the set
|
float |
pollLastFloat()
A method to get and remove the last element in the set
|
default FloatSplititerator |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
default FloatOrderedSet |
synchronize()
Creates a Wrapped OrderedSet that is Synchronized
|
default FloatOrderedSet |
synchronize(java.lang.Object mutex)
Creates a Wrapped OrderedSet that is Synchronized
|
default FloatOrderedSet |
unmodifiable()
Creates a Wrapped OrderedSet that is unmodifiable
|
add, contains, remFloat, 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, toFloatArray, toFloatArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, sortedboolean addAndMoveToFirst(float o)
o - the element that should be insertedSet.add(Object)boolean addAndMoveToLast(float o)
o - the element that should be insertedSet.add(Object)boolean moveToFirst(float o)
o - that should be moved to the first indexboolean moveToLast(float o)
o - that should be moved to the first lastFloatOrderedSet copy()
FloatCollectioncopy in interface FloatCollectioncopy in interface FloatSetFloatBidirectionalIterator iterator()
FloatCollectioniterator in interface java.util.Collection<java.lang.Float>iterator in interface FloatCollectioniterator in interface FloatIterableiterator in interface FloatSetiterator in interface java.lang.Iterable<java.lang.Float>iterator in interface java.util.Set<java.lang.Float>Collection.iterator()FloatBidirectionalIterator iterator(float fromElement)
fromElement - the element the iterator should start fromjava.util.NoSuchElementException - if fromElement isn't founddefault FloatSplititerator spliterator()
spliterator in interface java.util.Collection<java.lang.Float>spliterator in interface FloatCollectionspliterator in interface FloatIterablespliterator in interface FloatSetspliterator in interface java.lang.Iterable<java.lang.Float>spliterator in interface java.util.Set<java.lang.Float>float firstFloat()
float pollFirstFloat()
float lastFloat()
float pollLastFloat()
default FloatOrderedSet synchronize()
synchronize in interface FloatCollectionsynchronize in interface FloatSetFloatSets.synchronize(speiger.src.collections.floats.sets.FloatSet)default FloatOrderedSet synchronize(java.lang.Object mutex)
synchronize in interface FloatCollectionsynchronize in interface FloatSetmutex - is the controller of the synchronization blockFloatSets.synchronize(speiger.src.collections.floats.sets.FloatSet)default FloatOrderedSet unmodifiable()
unmodifiable in interface FloatCollectionunmodifiable in interface FloatSetFloatSets.unmodifiable(speiger.src.collections.floats.sets.FloatSet)