ix.ileed
Class HashedSet

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--ix.ileed.HashedSet
All Implemented Interfaces:
java.lang.Cloneable, Collector, java.util.Map, java.io.Serializable

public class HashedSet
extends java.util.Hashtable
implements Collector

A set collector based on Hashtables. A HashSet can used to collect objects when (a) the same object might be added more than once, (b) no object should appear more than once in an enumeration of the collected elements, and (c) the order of objects in the element-enumeration doesn't matter.

See Also:
Seq, LListCollector, Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
HashedSet()
           
 
Method Summary
 void addElement(java.lang.Object e)
           
 java.lang.Object result()
           
 
Methods inherited from class java.util.Hashtable
, clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HashedSet

public HashedSet()
Method Detail

addElement

public void addElement(java.lang.Object e)
Specified by:
addElement in interface Collector

result

public java.lang.Object result()
Specified by:
result in interface Collector