Class HashList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.pepsoft.util.jobqueue.HashList<E>
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, Set<E>

public class HashList<E> extends AbstractList<E> implements Set<E>
A combination of the List and Set interfaces. A List which can only contain equal objects once (according to their equals() and hashCode() methods). Or in other words an ordered Set.

This collection's iterator is read-only and does not support the add(), etc. methods. It is also not fail-fast! If you modify the collection while iterating over it, the results are unspecified.