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