groovyx.gpars.extra166y
Class CustomConcurrentHashMap.KeySetView
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<K>
groovyx.gpars.extra166y.CustomConcurrentHashMap.KeySetView
- All Implemented Interfaces:
- java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>
- Enclosing class:
- CustomConcurrentHashMap<K,V>
final class CustomConcurrentHashMap.KeySetView
- extends java.util.AbstractSet<K>
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
add, addAll, containsAll, 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.Set |
add, addAll, containsAll, retainAll, toArray, toArray |
CustomConcurrentHashMap.KeySetView
CustomConcurrentHashMap.KeySetView()
iterator
public java.util.Iterator<K> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<K>
- Specified by:
iterator
in interface java.util.Collection<K>
- Specified by:
iterator
in interface java.util.Set<K>
- Specified by:
iterator
in class java.util.AbstractCollection<K>
size
public int size()
- Specified by:
size
in interface java.util.Collection<K>
- Specified by:
size
in interface java.util.Set<K>
- Specified by:
size
in class java.util.AbstractCollection<K>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection<K>
- Specified by:
isEmpty
in interface java.util.Set<K>
- Overrides:
isEmpty
in class java.util.AbstractCollection<K>
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection<K>
- Specified by:
contains
in interface java.util.Set<K>
- Overrides:
contains
in class java.util.AbstractCollection<K>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<K>
- Specified by:
remove
in interface java.util.Set<K>
- Overrides:
remove
in class java.util.AbstractCollection<K>
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<K>
- Specified by:
clear
in interface java.util.Set<K>
- Overrides:
clear
in class java.util.AbstractCollection<K>