Class IntHashSet<E>

java.lang.Object
org.web3d.util.IntHashSet<E>
Type Parameters:
E - the element to be contained in this Set

public class IntHashSet<E> extends Object
A custom IntHashSet implementation specific to int primitive data.

This implementation is designed for realtime work and in particular with the goal of absolute minimum garbage generation. The standard implementation in java.util generates excessive amounts of garbage and is unsuitable for the task.

The implementation does not have a backing class and the internals are based on the hashing code in IntHashMap. The method signature is almost the same as java.util.IntHashSet, except we leave out garbage generating methods like iterator().

Version:
$Revision: 1.6 $
Author:
Alan Hudson