GNU Trove

gnu.trove.map.hash
Class THashMap.KeyView

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by gnu.trove.map.hash.THashMap.KeyView
All Implemented Interfaces:
java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>
Enclosing class:
THashMap<K,V>

protected class THashMap.KeyView
extends java.util.AbstractSet<E>

a view onto the keys of the map.


Constructor Summary
protected THashMap.KeyView()
           
 
Method Summary
 boolean containsElement(K key)
           
 java.util.Iterator<K> iterator()
           
 boolean removeElement(K key)
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
containsAll
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, removeAll
 

Constructor Detail

THashMap.KeyView

protected THashMap.KeyView()
Method Detail

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>

removeElement

public boolean removeElement(K key)

containsElement

public boolean containsElement(K key)

GNU Trove