Class TLongHashSetDecorator

java.lang.Object
java.util.AbstractCollection<Long>
java.util.AbstractSet<Long>
gnu.trove.decorator.TLongHashSetDecorator
All Implemented Interfaces:
Externalizable, Serializable, Iterable<Long>, Collection<Long>, Set<Long>

public class TLongHashSetDecorator extends AbstractSet<Long> implements Set<Long>, Externalizable
Wrapper class to make a TLongHashSet conform to the java.util.Set API. This class simply decorates an underlying TLongHashSet and translates the Object-based APIs into their Trove primitive analogs.

Note that wrapping and unwrapping primitive values is extremely inefficient. If possible, users of this class should override the appropriate methods in this class and use a table of canonical values.

Created: Tue Sep 24 22:08:17 PDT 2002

Author:
Eric D. Friedman
See Also: