Class EnumLongOrderedMap.OrderedMapEntries
java.lang.Object
java.util.AbstractCollection<EnumLongMap.Entry>
java.util.AbstractSet<EnumLongMap.Entry>
com.github.tommyettinger.ds.EnumLongMap.Entries
com.github.tommyettinger.ds.EnumLongOrderedMap.OrderedMapEntries
- All Implemented Interfaces:
EnhancedCollection<EnumLongMap.Entry>, Iterable<EnumLongMap.Entry>, Collection<EnumLongMap.Entry>, Set<EnumLongMap.Entry>
- Enclosing class:
EnumLongOrderedMap
-
Field Summary
FieldsFields inherited from class EnumLongMap.Entries
map -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendInto(EnumLongMap map) Append the remaining items that this can iterate through into the given EnumLongMap.ObjectLongMap<Enum<?>> appendInto(ObjectLongMap<Enum<?>> map) Append the remaining items that this can iterate through into the given ObjectLongMap.iterator()Returns an iterator over the elements contained in this collection.Methods inherited from class EnumLongMap.Entries
appendInto, clear, contains, remove, removeAll, retainAll, size, toArray, toArray, toList, toStringMethods inherited from class AbstractSet
equals, hashCodeMethods inherited from class AbstractCollection
add, addAll, containsAll, isEmptyMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface EnhancedCollection
add, add, add, addAll, addAll, addAll, addAllIterable, addLegible, addLegible, addVarargs, appendTo, appendTo, containsAll, containsAll, containsAll, containsAllIterable, containsAny, containsAny, containsAny, containsAnyIterable, first, removeAll, removeAll, removeAll, removeAllIterable, removeEach, removeEach, removeEach, removeEachIterable, toString, toString, toStringMethods inherited from interface Set
add, addAll, containsAll, isEmpty, spliterator
-
Field Details
-
ordering
-
-
Constructor Details
-
OrderedMapEntries
-
-
Method Details
-
iterator
Description copied from class:EnumLongMap.EntriesReturns an iterator over the elements contained in this collection.- Specified by:
iteratorin interfaceCollection<EnumLongMap.Entry>- Specified by:
iteratorin interfaceIterable<EnumLongMap.Entry>- Specified by:
iteratorin interfaceSet<EnumLongMap.Entry>- Overrides:
iteratorin classEnumLongMap.Entries- Returns:
- an iterator over the elements contained in this collection
-
appendInto
Append the remaining items that this can iterate through into the given ObjectLongMap. Does not change the position of this iterator. The ObjectLongMap must have Enum keys.- Overrides:
appendIntoin classEnumLongMap.Entries- Parameters:
map- a modifiable ObjectLongMap; may have items appended into it- Returns:
- the given ObjectLongMap
-
appendInto
Append the remaining items that this can iterate through into the given EnumLongMap. Does not change the position of this iterator.- Overrides:
appendIntoin classEnumLongMap.Entries- Parameters:
map- another EnumLongMap; may have items appended into it- Returns:
- the given EnumLongMap
-