public static class Int2ShortMaps.UnmodifyableOrderedEntrySet extends Int2ShortMaps.UnmodifyableEntrySet implements ObjectOrderedSet<Int2ShortMap.Entry>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(Int2ShortMap.Entry o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(Int2ShortMap.Entry o)
A customized add method that allows you to insert into the last index.
|
ObjectOrderedSet<Int2ShortMap.Entry> |
copy()
A Function that does a shallow clone of the Collection itself.
|
Int2ShortMap.Entry |
first()
A method to get the first element in the set
|
ObjectBidirectionalIterator<Int2ShortMap.Entry> |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
ObjectBidirectionalIterator<Int2ShortMap.Entry> |
iterator(Int2ShortMap.Entry fromElement)
A type Specific Iterator starting from a given key
|
Int2ShortMap.Entry |
last()
A method to get the last element in the set
|
boolean |
moveToFirst(Int2ShortMap.Entry o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(Int2ShortMap.Entry o)
A specific move method to move a given key to the last index.
|
Int2ShortMap.Entry |
pollFirst()
A method to get and remove the first element in the set
|
Int2ShortMap.Entry |
pollLast()
A method to get and remove the last element in the set
|
forEachaddOrGetadd, addAll, addAll, addAll, clear, contains, containsAll, containsAll, containsAny, containsAny, count, equals, findFirst, forEach, hashCode, isEmpty, matchesAll, matchesAny, matchesNone, reduce, reduce, remove, removeAll, removeAll, removeAll, removeIf, retainAll, retainAll, retainAll, size, toArray, toArray, toStringspliterator, synchronize, synchronize, unmodifiableadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayaddAll, addAll, addAll, addAll, containsAll, containsAny, containsAny, pour, removeAll, removeAll, retainAll, retainAll, toArrayarrayflatMap, asAsync, count, distinct, filter, findFirst, flatMap, forEach, limit, map, matchesAll, matchesAny, matchesNone, peek, pourAsList, pourAsSet, reduce, reduce, sortedpublic boolean addAndMoveToFirst(Int2ShortMap.Entry o)
ObjectOrderedSetaddAndMoveToFirst in interface ObjectOrderedSet<Int2ShortMap.Entry>o - the element that should be insertedSet.add(Object)public boolean addAndMoveToLast(Int2ShortMap.Entry o)
ObjectOrderedSetaddAndMoveToLast in interface ObjectOrderedSet<Int2ShortMap.Entry>o - the element that should be insertedSet.add(Object)public boolean moveToFirst(Int2ShortMap.Entry o)
ObjectOrderedSetmoveToFirst in interface ObjectOrderedSet<Int2ShortMap.Entry>o - that should be moved to the first indexpublic boolean moveToLast(Int2ShortMap.Entry o)
ObjectOrderedSetmoveToLast in interface ObjectOrderedSet<Int2ShortMap.Entry>o - that should be moved to the first lastpublic ObjectOrderedSet<Int2ShortMap.Entry> copy()
ObjectCollectioncopy in interface ObjectCollection<Int2ShortMap.Entry>copy in interface ObjectOrderedSet<Int2ShortMap.Entry>copy in interface ObjectSet<Int2ShortMap.Entry>copy in class ObjectSets.UnmodifiableSet<Int2ShortMap.Entry>public ObjectBidirectionalIterator<Int2ShortMap.Entry> iterator()
ObjectCollectioniterator in interface java.lang.Iterable<Int2ShortMap.Entry>iterator in interface java.util.Collection<Int2ShortMap.Entry>iterator in interface java.util.Set<Int2ShortMap.Entry>iterator in interface ObjectCollection<Int2ShortMap.Entry>iterator in interface ObjectIterable<Int2ShortMap.Entry>iterator in interface ObjectOrderedSet<Int2ShortMap.Entry>iterator in interface ObjectSet<Int2ShortMap.Entry>iterator in class Int2ShortMaps.UnmodifyableEntrySetCollection.iterator()public ObjectBidirectionalIterator<Int2ShortMap.Entry> iterator(Int2ShortMap.Entry fromElement)
ObjectOrderedSetiterator in interface ObjectOrderedSet<Int2ShortMap.Entry>fromElement - the element the iterator should start frompublic Int2ShortMap.Entry first()
ObjectOrderedSetfirst in interface ObjectOrderedSet<Int2ShortMap.Entry>public Int2ShortMap.Entry pollFirst()
ObjectOrderedSetpollFirst in interface ObjectOrderedSet<Int2ShortMap.Entry>public Int2ShortMap.Entry last()
ObjectOrderedSetlast in interface ObjectOrderedSet<Int2ShortMap.Entry>public Int2ShortMap.Entry pollLast()
ObjectOrderedSetpollLast in interface ObjectOrderedSet<Int2ShortMap.Entry>