Class LongSet

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

public class LongSet extends AbstractSet<Long> implements Cloneable, Serializable
A set of non-zero long values.

This implementation uses long[] arrays and open addressing to minimize memory overhead. Equivalent Set methods taking long instead of Long are also provided.

Instances will throw IllegalStateException if their capacity is exceeded.

Instances do not accept zero values and are not thread safe.

See Also: