Module org.hsqldb

Class OrderedHashSet<E>

java.lang.Object
org.hsqldb.map.BaseHashMap
org.hsqldb.lib.HashSet<E>
org.hsqldb.lib.OrderedHashSet<E>
All Implemented Interfaces:
Collection<E>, List<E>, Set<E>

public class OrderedHashSet<E> extends HashSet<E> implements List<E>, Set<E>
A list which is also a Set which maintains the inserted order of elements and allows access by index. Iterators return the elements in the index order.

This class does not store null elements.

Since:
1.9.0
Author:
Fred Toussi (fredt@users dot sourceforge.net)