Class WeakValueHashMap.EntrySet
- All Implemented Interfaces:
Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K, V>>, Set<Map.Entry<K, V>>
- Enclosing class:
WeakValueHashMap<K,V>
The set of entries.
- Since:
- 0.3
- Version:
- 0.3
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream
-
Constructor Details
-
EntrySet
private EntrySet()
-
-
Method Details
-
size
-
toArray
Returns a view of this set as an array. Note that this array contains strong references. Consequently, no object reclamation will occur as long as a reference to this array is hold. -
iterator
Returns an iterator over the elements contained in this collection. No element from this set will be garbage collected as long as a reference to the iterator is hold.
-