Class ReferenceArraySet<K>

All Implemented Interfaces:
ObjectIterable<K>, ReferenceCollection<K>, ReferenceSet<K>, Serializable, Cloneable, Iterable<K>, Collection<K>, Set<K>

public class ReferenceArraySet<K>
extends AbstractReferenceSet<K>
implements Serializable, Cloneable
A simple, brute-force implementation of a set based on a backing array.

The main purpose of this implementation is that of wrapping cleanly the brute-force approach to the storage of a very small number of items: just put them into an array and scan linearly to find an item.

See Also:
Serialized Form