Class ListToSet<T>

  • All Implemented Interfaces:
    Iterable<T>, Collection<T>, Set<T>

    public abstract class ListToSet<T>
    extends AbstractSet<T>
    Provides a set-like read-only view on a given List. Modification of the underlying list is not supported.
    Author:
    Jozef Hartinger