| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
List.cons(T head,
List<T> tail) |
static <T> List<T> |
List.nil() |
List<T> |
List.tail() |
List<T> |
List.withHead(T newValue) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ListVisitor<T,List<T>,List<T>> |
List.factory() |
static <T> ListVisitor<T,List<T>,List<T>> |
List.factory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
List.cons(T head,
List<T> tail) |
R |
TreeVisitor.node(List<? extends S> subtrees) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
List.accept(ListVisitor<T,List<T>,R> visitor) |
| Constructor and Description |
|---|
List(List<T> implementation) |
Copyright © 2015. All rights reserved.