edu.mit.ai.psg.utilities
Class HashedSet

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractSet
              |
              +--java.util.HashSet
                    |
                    +--edu.mit.ai.psg.utilities.HashedSet

public class HashedSet
extends HashSet
implements ISet, Cloneable

HashedSet extends java.util.HashSet with ISet methods

See Also:
Serialized Form

Constructor Summary
HashedSet()
           
HashedSet(Collection initElements)
           
HashedSet(Object[] initElements)
           
 
Method Summary
 Object clone()
           
 ICollection map(IUnaryFunction theFunction)
           
 ICollection select(IUnaryPredicate thePredicate)
           
 
Methods inherited from class java.util.HashSet
add, clear, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashedSet

public HashedSet()

HashedSet

public HashedSet(Object[] initElements)

HashedSet

public HashedSet(Collection initElements)
Method Detail

select

public ICollection select(IUnaryPredicate thePredicate)

map

public ICollection map(IUnaryFunction theFunction)

clone

public Object clone()
Overrides:
clone in class HashSet

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu