Package | Description |
---|---|
jfun.util |
Provides utility classes that can be reused by the entire java functional library.
|
Modifier and Type | Field and Description |
---|---|
static List |
List.nil
the empty list.
|
Modifier and Type | Method and Description |
---|---|
List |
List.cons(java.lang.Object obj)
add an object to the head of the list.
|
static List |
List.fromArray(java.lang.Object arr)
Create a list using the elements of the array.
|
static List |
List.fromArray(java.lang.Object[] arr)
Create a list using the elements of the array.
|
List |
List.rev()
reverse the list.
|
abstract List |
List.revAppend(List l)
reverse the list and append it to the tail of list l.
|
abstract List |
List.tail()
Get the tail of the list.
|
Modifier and Type | Method and Description |
---|---|
abstract List |
List.revAppend(List l)
reverse the list and append it to the tail of list l.
|