Class OrderedHashSet<T>

  • All Implemented Interfaces:
    Serializable, Cloneable, Iterable<T>, Collection<T>, Set<T>

    public class OrderedHashSet<T>
    extends LinkedHashSet<T>
    A HashMap that remembers the order that the elements were added. You can alter the ith element with set(i,value) too :) Unique list. I need the replace/set-element-i functionality so I'm subclassing LinkedHashSet.
    See Also:
    Serialized Form