HashSet - Description


The generic class HashSet is a hash set. The generic has a single type parameter, T - the data type of the set. The generic class HashSet exists in the namespace calculus (in assembly calculus.jar).

The declaration of the set class (in Java) is shown below.

public class HashSet<T> implements Collection<T>

When for is applied to a set, the entries are presented in hash code order.