it.unimi.dsi.fastutil
Class Sets

java.lang.Object
  extended byit.unimi.dsi.fastutil.Sets

public class Sets
extends Object

A class providing static methods and objects that do useful things with sets.

See Also:
Collections

Nested Class Summary
static class Sets.EmptySet
          An immutable class representing the empty (sorted) set and implementing all type-specific set interfaces.
 
Field Summary
static Sets.EmptySet EMPTY_SET
          An empty set (immutable).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_SET

public static final Sets.EmptySet EMPTY_SET
An empty set (immutable). It is serializable and cloneable.

The class of this objects represent an abstract empty set that is a subset of any type of set. Thus, EMPTY_SET may be assigned to a variable of any (sorted) type-specific set.