Class EntrySet<K,V>
- All Implemented Interfaces:
Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K, V>>, List<Map.Entry<K, V>>, SequencedCollection<Map.Entry<K, V>>, Set<Map.Entry<K, V>>, EntryList<K, V>
public abstract class EntrySet<K,V>
extends AbstractList<Map.Entry<K,V>>
implements EntryList<K,V>, Set<Map.Entry<K,V>>
Allows you to wrap and treat two arrays as a
Collection of key-value pairs. Implements both
List and Set but does not in any way test or enforce uniqueness – that's up to the user of
this class.- Author:
- apete
-
Field Summary
Fields inherited from class AbstractList
modCount -
Method Summary
Methods inherited from class AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, equals, getFirst, getLast, hashCode, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, sort, subList, toArray, toArray
-
Method Details
-
get
-
getKey
-
getPair
-
getValue
-
iterator
-
setValue
-
size
-
spliterator
- Specified by:
spliteratorin interfaceCollection<K>- Specified by:
spliteratorin interfaceIterable<K>- Specified by:
spliteratorin interfaceList<K>- Specified by:
spliteratorin interfaceSet<K>
-