Class THashMap.KeyView
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
com.gigaspaces.internal.gnu.trove.THashMap.KeyView
- All Implemented Interfaces:
Iterable<K>, Collection<K>, Set<K>
a view onto the keys of the map.
- Version:
- $Id: THashMap.java,v 1.33 2008/05/08 17:42:55 robeden Exp $
- Author:
- Eric D. Friedman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends K> collection) voidclear()booleanbooleancontainsAll(Collection<?> collection) booleancontainsElement(K key) booleanisEmpty()iterator()booleanbooleanremoveElement(K key) booleanretainAll(Collection<?> collection) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
equals, hashCode, removeAll, spliterator
-
Constructor Details
-
KeyView
protected KeyView()
-
-
Method Details
-
iterator
-
removeElement
-
containsElement
-
contains
- Specified by:
containsin interfaceCollection<E>- Specified by:
containsin interfaceSet<E>- Overrides:
containsin classAbstractCollection<E>
-
remove
- Specified by:
removein interfaceCollection<E>- Specified by:
removein interfaceSet<E>- Overrides:
removein classAbstractCollection<E>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E>- Specified by:
containsAllin interfaceSet<E>- Overrides:
containsAllin classAbstractCollection<E>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<E>- Specified by:
clearin interfaceSet<E>- Overrides:
clearin classAbstractCollection<E>
-
add
- Specified by:
addin interfaceCollection<E>- Specified by:
addin interfaceSet<E>- Overrides:
addin classAbstractCollection<E>
-
size
public int size()- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceSet<E>- Specified by:
sizein classAbstractCollection<E>
-
toArray
- Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceSet<E>- Overrides:
toArrayin classAbstractCollection<E>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<E>- Specified by:
toArrayin interfaceSet<E>- Overrides:
toArrayin classAbstractCollection<E>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<E>- Specified by:
isEmptyin interfaceSet<E>- Overrides:
isEmptyin classAbstractCollection<E>
-
addAll
- Specified by:
addAllin interfaceCollection<E>- Specified by:
addAllin interfaceSet<E>- Overrides:
addAllin classAbstractCollection<E>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E>- Specified by:
retainAllin interfaceSet<E>- Overrides:
retainAllin classAbstractCollection<E>
-