Class AbstractHashedMap.KeySet<K>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<K>
-
- org.apache.openjpa.lib.util.collections.AbstractHashedMap.KeySet<K>
-
- All Implemented Interfaces:
Iterable<K>,Collection<K>,Set<K>
- Enclosing class:
- AbstractHashedMap<K,V>
protected static class AbstractHashedMap.KeySet<K> extends AbstractSet<K>
KeySet implementation.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeySet(AbstractHashedMap<K,?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontains(Object key)Iterator<K>iterator()booleanremove(Object key)intsize()-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
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 Detail
-
KeySet
protected KeySet(AbstractHashedMap<K,?> parent)
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceCollection<K>- Specified by:
sizein interfaceSet<K>- Specified by:
sizein classAbstractCollection<K>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<K>- Specified by:
clearin interfaceSet<K>- Overrides:
clearin classAbstractCollection<K>
-
contains
public boolean contains(Object key)
- Specified by:
containsin interfaceCollection<K>- Specified by:
containsin interfaceSet<K>- Overrides:
containsin classAbstractCollection<K>
-
remove
public boolean remove(Object key)
- Specified by:
removein interfaceCollection<K>- Specified by:
removein interfaceSet<K>- Overrides:
removein classAbstractCollection<K>
-
-