Class SetOverMap<K,V>
- All Implemented Interfaces:
Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K, V>>, Set<Map.Entry<K, V>>
A special helper class to treat a map as a collection of entries
and retain the ability to retrieve the map.
Map.entrySet().add() is not always supported and its usually not
possible to get the map out again.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractSet
removeAllMethods inherited from class AbstractCollection
addAll, clear, containsAll, isEmpty, retainAll, toArray, toArrayMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
addAll, clear, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Field Details
-
delegate
-
-
Constructor Details
-
SetOverMap
-
-
Method Details
-
getMap
-
add
-
remove
-
contains
-
iterator
-
size
-
hashCode
-
equals
-
toString
-