- Object
-
- AbstractCollection<E>
-
- AbstractSet<Map.Entry<K,V>>
-
- com.toolsverse.util.concurrentlinkedhashmap.ConcurrentLinkedHashMap.EntrySet
-
- All Implemented Interfaces:
- Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K,V>>, Set<Map.Entry<K,V>>
- Enclosing class:
- ConcurrentLinkedHashMap<K,V>
final class ConcurrentLinkedHashMap.EntrySet
extends AbstractSet<Map.Entry<K,V>>
An adapter to safely externalize the entries.
-
-
Constructor Summary
Constructors
Constructor and Description |
EntrySet() |
-
Method Summary
-
Methods inherited from class AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Methods inherited from interface Collection
parallelStream, removeIf, stream
-
Methods inherited from interface Iterable
forEach
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interface Collection<Map.Entry<K,V>>
- Specified by:
size
in interface Set<Map.Entry<K,V>>
- Specified by:
size
in class AbstractCollection<Map.Entry<K,V>>
-
clear
public void clear()
- Specified by:
clear
in interface Collection<Map.Entry<K,V>>
- Specified by:
clear
in interface Set<Map.Entry<K,V>>
- Overrides:
clear
in class AbstractCollection<Map.Entry<K,V>>
Copyright © 2010-2020 Toolsverse. All Rights Reserved.