Uses of Class
fj.data.DList

Packages that use DList
Package
Description
Common algebraic data types.
  • Uses of DList in fj.data

    Methods in fj.data that return DList
    Modifier and Type
    Method
    Description
    DList.append(DList<A> other)
    Appends two DLists together to produce a new DList.
    static <A> DList<A>
    DList.arrayDList(A... as)
    Creates a DList from an array
    DList.cons(A a)
    Prepends a single element on the DList to produce a new DList.
    static <A> DList<A>
    DList.dlist(F<List<A>,Trampoline<List<A>>> f)
    Creates a DList from the function For alternatives functions to create a DList:
    static <A> DList<A>
    DList.iterableDList(Iterable<A> it)
    Creates a DList from an Iterable
    static <A> DList<A>
    DList.iteratorDList(Iterator<A> it)
    Creates a DList from an Iterator
    static <A> DList<A>
    DList.listDList(List<A> a)
    Creates a DList from a List
    static <A> DList<A>
    DList.nil()
    A empty DList.
    static <A> DList<A>
    DList.single(A a)
    Produces a DList with one element.
    DList.snoc(A a)
    Appends a single element on the end of the DList to produce a new DList.
    Methods in fj.data with parameters of type DList
    Modifier and Type
    Method
    Description
    DList.append(DList<A> other)
    Appends two DLists together to produce a new DList.