Package gnu.lists

Class EmptyList

All Implemented Interfaces:
BoundedHashable, Consumable, Sequence<Object>, Externalizable, Serializable, Comparable, Iterable<Object>, Collection<Object>, List<Object>, SequencedCollection<Object>

public class EmptyList extends LList
This singleton class represents an empty list. Using a separate class easier improved type information in error messages.
Since:
16/04/2011
See Also:
  • Field Details

    • emptyList

      public static final EmptyList emptyList