Package com.tangosol.util
Class CopyOnWriteMap.KeySet
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
com.tangosol.util.CopyOnWriteMap.KeySet
- All Implemented Interfaces:
Iterable<K>
,Collection<K>
,Set<K>
- Enclosing class:
CopyOnWriteMap<K,
V>
A set of keys backed by this map.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
add, addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
KeySet
protected KeySet()
-
-
Method Details
-
iterator
-
size
public int size()- Specified by:
size
in interfaceCollection<K>
- Specified by:
size
in interfaceSet<K>
- Specified by:
size
in classAbstractCollection<K>
-
contains
- Specified by:
contains
in interfaceCollection<K>
- Specified by:
contains
in interfaceSet<K>
- Overrides:
contains
in classAbstractCollection<K>
-
remove
- Specified by:
remove
in interfaceCollection<K>
- Specified by:
remove
in interfaceSet<K>
- Overrides:
remove
in classAbstractCollection<K>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<K>
- Specified by:
removeAll
in interfaceSet<K>
- Overrides:
removeAll
in classAbstractSet<K>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<K>
- Specified by:
clear
in interfaceSet<K>
- Overrides:
clear
in classAbstractCollection<K>
-