All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----Poly.List
List is the basic unit for constructing an open linked list of Objects.
A List can be either :
an EmptyList, or
a NonEmptyList, in which case it consists of:
a Object as the first thing in the list
a rest which is a List.
This class is abstract, even though javadoc might not indicate that.
public final static List nil
public static List nats
public static List primes
public List()
public abstract boolean isEmpty()
public abstract boolean nonEmpty()
public abstract Object first() throws EmptyListException
public abstract List rest() throws EmptyListException
public abstract NonEmptyList getNonEmpty() throws EmptyListException
public abstract String toString()
public static List cons(Object First,
List Rest)
public static List cons(Object First,
Seed Rest)
public static List ListFromEnum(Enumeration e)
public static List list()
public static List list(Object A)
public static List list(Object A,
Object B)
public static List list(Object A,
Object B,
Object C)
public static List list(Object A,
Object B,
Object C,
Object D)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H,
Object I)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H,
Object I,
Object J)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H,
Object I,
Object J,
Object K)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H,
Object I,
Object J,
Object K,
Object L)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H,
Object I,
Object J,
Object K,
Object L,
Object M)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H,
Object I,
Object J,
Object K,
Object L,
Object M,
Object N)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H,
Object I,
Object J,
Object K,
Object L,
Object M,
Object N,
Object O)
public static List list(Object A,
Object B,
Object C,
Object D,
Object E,
Object F,
Object G,
Object H,
Object I,
Object J,
Object K,
Object L,
Object M,
Object N,
Object O,
Object P)
public int length()
public ListEnum elements()
public static Object first(List L) throws EmptyListException
public static List rest(List L) throws EmptyListException
public static List reverse(List L)
public static List append(List L,
List M)
public static boolean member(Object A,
List L)
public static List range(long M,
long N)
public static List range(long M,
long N,
long S)
public Object second() throws EmptyListException
public Object third() throws EmptyListException
public Object fourth() throws EmptyListException
public Object fifth() throws EmptyListException
public Object sixth() throws EmptyListException
public Object nth(long n) throws EmptyListException
public static List prefix(long n,
List L)
public static List coprefix(long n,
List L)
public static boolean equals(List L,
List M)
public boolean equals(List M)
public static void main(String args[])
public static String analysis(Object Ob)
public Object[] array()
All Packages Class Hierarchy This Package Previous Next Index