org.apache.cassandra.utils
Class FastHashMap.KeyView

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by org.apache.cassandra.utils.FastHashMap.KeyView
All Implemented Interfaces:
java.lang.Iterable<K>, java.util.Collection<K>, java.util.Set<K>
Enclosing class:
FastHashMap<K,V>

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

a view onto the keys of the map.


Constructor Summary
protected FastHashMap.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
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode, removeAll
 

Constructor Detail

FastHashMap.KeyView

protected FastHashMap.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)


Copyright © 2009 The Apache Software Foundation