org.jboss.portal.common.util
Class TypedMap.KeySet

java.lang.Object
  extended by org.jboss.portal.common.util.TypedMap.KeySet
All Implemented Interfaces:
java.lang.Iterable<EK>, java.util.Collection<EK>, java.util.Set<EK>
Enclosing class:
TypedMap<EK,EV,IK,IV>

public class TypedMap.KeySet
extends java.lang.Object
implements java.util.Set<EK>


Nested Class Summary
 class TypedMap.KeySet.KeyIterator
           
 
Constructor Summary
TypedMap.KeySet()
           
 
Method Summary
 boolean add(EK ek)
           
 boolean addAll(java.util.Collection<? extends EK> eks)
           
 void clear()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection<?> objects)
           
 boolean isEmpty()
           
 java.util.Iterator<EK> iterator()
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection<?> objects)
           
 boolean retainAll(java.util.Collection<?> c)
           
 int size()
           
 java.lang.Object[] toArray()
           
<EK> EK[]
toArray(EK[] a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode
 

Constructor Detail

TypedMap.KeySet

public TypedMap.KeySet()
Method Detail

size

public int size()
Specified by:
size in interface java.util.Collection<EK>
Specified by:
size in interface java.util.Set<EK>

clear

public void clear()
Specified by:
clear in interface java.util.Collection<EK>
Specified by:
clear in interface java.util.Set<EK>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection<EK>
Specified by:
isEmpty in interface java.util.Set<EK>

contains

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

toArray

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

add

public boolean add(EK ek)
Specified by:
add in interface java.util.Collection<EK>
Specified by:
add in interface java.util.Set<EK>

remove

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

containsAll

public boolean containsAll(java.util.Collection<?> objects)
Specified by:
containsAll in interface java.util.Collection<EK>
Specified by:
containsAll in interface java.util.Set<EK>

addAll

public boolean addAll(java.util.Collection<? extends EK> eks)
Specified by:
addAll in interface java.util.Collection<EK>
Specified by:
addAll in interface java.util.Set<EK>

removeAll

public boolean removeAll(java.util.Collection<?> objects)
Specified by:
removeAll in interface java.util.Collection<EK>
Specified by:
removeAll in interface java.util.Set<EK>

retainAll

public boolean retainAll(java.util.Collection<?> c)
Specified by:
retainAll in interface java.util.Collection<EK>
Specified by:
retainAll in interface java.util.Set<EK>

iterator

public java.util.Iterator<EK> iterator()
Specified by:
iterator in interface java.lang.Iterable<EK>
Specified by:
iterator in interface java.util.Collection<EK>
Specified by:
iterator in interface java.util.Set<EK>

toArray

public <EK> EK[] toArray(EK[] a)
Specified by:
toArray in interface java.util.Collection<EK>
Specified by:
toArray in interface java.util.Set<EK>