Package | Description |
---|---|
org.clafer.collection |
This package provides various data structures common throughout the project.
|
Modifier and Type | Method and Description |
---|---|
static <E> FList<E> |
FList.cons(E head,
FList<E> tail)
Functional-programming cons.
|
static <E> FList<E> |
FList.empty()
Returns an empty list.
|
abstract FList<E> |
FList.getTail()
Returns the a sublist of this list without the first element.
|
static <E> FList<E> |
FList.single(E item)
A list containing a single element.
|
static <E> FList<E> |
FList.snoc(FList<E> head,
E tail)
Functional-programming snoc.
|
Modifier and Type | Method and Description |
---|---|
static <E> FList<E> |
FList.cons(E head,
FList<E> tail)
Functional-programming cons.
|
static <E> FList<E> |
FList.snoc(FList<E> head,
E tail)
Functional-programming snoc.
|
Copyright © 2013. All Rights Reserved.