Class ConsList<E>

  • Type Parameters:
    E - Element type
    All Implemented Interfaces:
    Iterable<E>, Collection<E>, List<E>

    public class ConsList<E>
    extends AbstractImmutableList<E>
    List that consists of a head element and an immutable non-empty list.