public interface IntOrderedSet extends IntSet
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(int o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(int o)
A customized add method that allows you to insert into the last index.
|
IntOrderedSet |
copy()
A Function that does a shallow clone of the Collection itself.
|
int |
firstInt()
A method to get the first element in the set
|
IntBidirectionalIterator |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
IntBidirectionalIterator |
iterator(int fromElement)
A type Specific Iterator starting from a given key
|
int |
lastInt()
A method to get the last element in the set
|
boolean |
moveToFirst(int o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(int o)
A specific move method to move a given key to the last index.
|
int |
pollFirstInt()
A method to get and remove the first element in the set
|
int |
pollLastInt()
A method to get and remove the last element in the set
|
default IntSplititerator |
spliterator()
A Type Specific Type Splititerator to reduce boxing/unboxing
|
default IntOrderedSet |
synchronize()
Creates a Wrapped OrderedSet that is Synchronized
|
default IntOrderedSet |
synchronize(java.lang.Object mutex)
Creates a Wrapped OrderedSet that is Synchronized
|
default IntOrderedSet |
unmodifiable()
Creates a Wrapped OrderedSet that is unmodifiable
|
add, contains, remInt, 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, toIntArray, toIntArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, forEach, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, sortedboolean addAndMoveToFirst(int o)
o - the element that should be insertedSet.add(Object)boolean addAndMoveToLast(int o)
o - the element that should be insertedSet.add(Object)boolean moveToFirst(int o)
o - that should be moved to the first indexboolean moveToLast(int o)
o - that should be moved to the first lastIntOrderedSet copy()
IntCollectioncopy in interface IntCollectioncopy in interface IntSetIntBidirectionalIterator iterator()
IntCollectioniterator in interface java.util.Collection<java.lang.Integer>iterator in interface IntCollectioniterator in interface IntIterableiterator in interface IntSetiterator in interface java.lang.Iterable<java.lang.Integer>iterator in interface java.util.Set<java.lang.Integer>Collection.iterator()IntBidirectionalIterator iterator(int fromElement)
fromElement - the element the iterator should start fromjava.util.NoSuchElementException - if fromElement isn't founddefault IntSplititerator spliterator()
spliterator in interface java.util.Collection<java.lang.Integer>spliterator in interface IntCollectionspliterator in interface IntIterablespliterator in interface IntSetspliterator in interface java.lang.Iterable<java.lang.Integer>spliterator in interface java.util.Set<java.lang.Integer>int firstInt()
int pollFirstInt()
int lastInt()
int pollLastInt()
default IntOrderedSet synchronize()
synchronize in interface IntCollectionsynchronize in interface IntSetIntSets.synchronize(speiger.src.collections.ints.sets.IntSet)default IntOrderedSet synchronize(java.lang.Object mutex)
synchronize in interface IntCollectionsynchronize in interface IntSetmutex - is the controller of the synchronization blockIntSets.synchronize(speiger.src.collections.ints.sets.IntSet)default IntOrderedSet unmodifiable()
unmodifiable in interface IntCollectionunmodifiable in interface IntSetIntSets.unmodifiable(speiger.src.collections.ints.sets.IntSet)