Class ConsList<E>

java.lang.Object
net.hydromatic.morel.util.AbstractImmutableList<E>
net.hydromatic.morel.util.ConsList<E>
Type Parameters:
E - Element type
All Implemented Interfaces:
Iterable<E>, Collection<E>, List<E>, SequencedCollection<E>

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