Interface ImmutableSet<T>

All Superinterfaces:
ImmutableCollection<T>, ImmutableSetIterable<T>, InternalIterable<T>, Iterable<T>, RichIterable<T>, SetIterable<T>, UnsortedSetIterable<T>

public interface ImmutableSet<T> extends UnsortedSetIterable<T>, ImmutableSetIterable<T>
ImmutableSet is the non-modifiable equivalent interface to MutableSet. MutableSet.toImmutable() will give you an appropriately trimmed implementation of ImmutableSet. All ImmutableSet implementations must implement the java.util.Set interface in order to satisfy the equals() contract and be compared against other set structures like UnifiedSet or HashSet.