org.apache.commons.collections
Class FastHashMap.KeySet

java.lang.Object
  |
  +--org.apache.commons.collections.FastHashMap.CollectionView
        |
        +--org.apache.commons.collections.FastHashMap.KeySet
All Implemented Interfaces:
java.util.Collection, java.util.Set
Enclosing class:
FastHashMap

private class FastHashMap.KeySet
extends FastHashMap.CollectionView
implements java.util.Set

Set implementation over the keys of the FastHashMap


Constructor Summary
private FastHashMap.KeySet()
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection c)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection o)
           
 boolean equals(java.lang.Object o)
           
protected  java.util.Collection get(java.util.Map map)
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
protected  java.lang.Object iteratorNext(java.util.Map.Entry entry)
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection o)
           
 boolean retainAll(java.util.Collection o)
           
 int size()
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

FastHashMap.KeySet

private FastHashMap.KeySet()
Method Detail

get

protected java.util.Collection get(java.util.Map map)
Specified by:
get in class FastHashMap.CollectionView

iteratorNext

protected java.lang.Object iteratorNext(java.util.Map.Entry entry)
Specified by:
iteratorNext in class FastHashMap.CollectionView

clear

public void clear()
Specified by:
clear in interface java.util.Collection

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface java.util.Collection

removeAll

public boolean removeAll(java.util.Collection o)
Specified by:
removeAll in interface java.util.Collection

retainAll

public boolean retainAll(java.util.Collection o)
Specified by:
retainAll in interface java.util.Collection

size

public int size()
Specified by:
size in interface java.util.Collection

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface java.util.Collection

containsAll

public boolean containsAll(java.util.Collection o)
Specified by:
containsAll in interface java.util.Collection

toArray

public java.lang.Object[] toArray(java.lang.Object[] o)
Specified by:
toArray in interface java.util.Collection

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Collection

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Collection
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection
Overrides:
hashCode in class java.lang.Object

add

public boolean add(java.lang.Object o)
Specified by:
add in interface java.util.Collection

addAll

public boolean addAll(java.util.Collection c)
Specified by:
addAll in interface java.util.Collection

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.util.Collection


Copyright (c) 2001-2004 - Apache Software Foundation