Constructor and Description |
---|
ImmutableList() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
abstract T |
head() |
abstract boolean |
isEmpty() |
Iterator<T> |
iterator() |
static <T> ImmutableList<T> |
nil() |
ImmutableList<T> |
prepend(T element) |
int |
size() |
abstract ImmutableList<T> |
tail() |
String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public abstract T head()
public abstract ImmutableList<T> tail()
public abstract boolean isEmpty()
public final int size()
public ImmutableList<T> prepend(T element)
public static <T> ImmutableList<T> nil()
Copyright (c) 2004-2017 Saxonica Limited. All rights reserved.