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