ix.util
Class HashedSet

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--ix.util.HashedSet

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, ListCollector, Serialized Form

Fields inherited from class java.util.Hashtable
count, ENTRIES, entrySet, KEYS, keySet, loadFactor, modCount, serialVersionUID, table, threshold, values, VALUES
 
Constructor Summary
HashedSet()
           
 
Method Summary
 void addElement(java.lang.Object e)
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, readObject, rehash, remove, size, toString, values, writeObject
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

HashedSet

public HashedSet()
Method Detail

addElement

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