Class CollectionsExt.ImmutableSet<E>

  • Type Parameters:
    E - the class of the elements of this set.
    All Implemented Interfaces:
    java.lang.Iterable<E>, java.util.Collection<E>, java.util.Set<E>
    Enclosing class:
    CollectionsExt<E>

    public static final class CollectionsExt.ImmutableSet<E>
    extends CollectionsExt.AbstractImmutableCollection<java.util.Set<E>,​E>
    implements java.util.Set<E>
    A set which prevents being modified by throwing an exception for the modifying methods.