T - the type of elements maintained by this Collectionpublic static class Object2ShortMaps.UnmodifyableOrderedEntrySet<T> extends Object2ShortMaps.UnmodifyableEntrySet<T> implements ObjectOrderedSet<Object2ShortMap.Entry<T>>
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAndMoveToFirst(Object2ShortMap.Entry<T> o)
A customized add method that allows you to insert into the first index.
|
boolean |
addAndMoveToLast(Object2ShortMap.Entry<T> o)
A customized add method that allows you to insert into the last index.
|
ObjectOrderedSet<Object2ShortMap.Entry<T>> |
copy()
A Function that does a shallow clone of the Collection itself.
|
Object2ShortMap.Entry<T> |
first()
A method to get the first element in the set
|
ObjectBidirectionalIterator<Object2ShortMap.Entry<T>> |
iterator()
Returns a Type-Specific Iterator to reduce (un)boxing
|
ObjectBidirectionalIterator<Object2ShortMap.Entry<T>> |
iterator(Object2ShortMap.Entry<T> fromElement)
A type Specific Iterator starting from a given key
|
Object2ShortMap.Entry<T> |
last()
A method to get the last element in the set
|
boolean |
moveToFirst(Object2ShortMap.Entry<T> o)
A specific move method to move a given key to the first index.
|
boolean |
moveToLast(Object2ShortMap.Entry<T> o)
A specific move method to move a given key to the last index.
|
Object2ShortMap.Entry<T> |
pollFirst()
A method to get and remove the first element in the set
|
Object2ShortMap.Entry<T> |
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(Object2ShortMap.Entry<T> o)
ObjectOrderedSetaddAndMoveToFirst in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>o - the element that should be insertedSet.add(Object)public boolean addAndMoveToLast(Object2ShortMap.Entry<T> o)
ObjectOrderedSetaddAndMoveToLast in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>o - the element that should be insertedSet.add(Object)public boolean moveToFirst(Object2ShortMap.Entry<T> o)
ObjectOrderedSetmoveToFirst in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>o - that should be moved to the first indexpublic boolean moveToLast(Object2ShortMap.Entry<T> o)
ObjectOrderedSetmoveToLast in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>o - that should be moved to the first lastpublic ObjectOrderedSet<Object2ShortMap.Entry<T>> copy()
ObjectCollectioncopy in interface ObjectCollection<Object2ShortMap.Entry<T>>copy in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>copy in interface ObjectSet<Object2ShortMap.Entry<T>>copy in class ObjectSets.UnmodifiableSet<Object2ShortMap.Entry<T>>public ObjectBidirectionalIterator<Object2ShortMap.Entry<T>> iterator()
ObjectCollectioniterator in interface java.lang.Iterable<Object2ShortMap.Entry<T>>iterator in interface java.util.Collection<Object2ShortMap.Entry<T>>iterator in interface java.util.Set<Object2ShortMap.Entry<T>>iterator in interface ObjectCollection<Object2ShortMap.Entry<T>>iterator in interface ObjectIterable<Object2ShortMap.Entry<T>>iterator in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>iterator in interface ObjectSet<Object2ShortMap.Entry<T>>iterator in class Object2ShortMaps.UnmodifyableEntrySet<T>Collection.iterator()public ObjectBidirectionalIterator<Object2ShortMap.Entry<T>> iterator(Object2ShortMap.Entry<T> fromElement)
ObjectOrderedSetiterator in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>fromElement - the element the iterator should start frompublic Object2ShortMap.Entry<T> first()
ObjectOrderedSetfirst in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>public Object2ShortMap.Entry<T> pollFirst()
ObjectOrderedSetpollFirst in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>public Object2ShortMap.Entry<T> last()
ObjectOrderedSetlast in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>public Object2ShortMap.Entry<T> pollLast()
ObjectOrderedSetpollLast in interface ObjectOrderedSet<Object2ShortMap.Entry<T>>