| Constructor and Description |
|---|
ConsList() |
| Modifier and Type | Method and Description |
|---|---|
static <A> ConsList<A> |
empty() |
<B> B |
foldLeft(B zero,
com.google.common.base.Function<com.atlassian.fugue.Pair<B,A>,B> append) |
abstract com.atlassian.fugue.Option<A> |
head() |
abstract boolean |
isEmpty() |
Iterator<A> |
iterator() |
static <A> ConsList<A> |
of(A... as) |
ConsList<A> |
prepend(A a) |
ConsList<A> |
remove(A a) |
abstract com.atlassian.fugue.Option<ConsList<A>> |
tail() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static <A> ConsList<A> empty()
public static <A> ConsList<A> of(A... as)
public abstract com.atlassian.fugue.Option<A> head()
public abstract boolean isEmpty()
public <B> B foldLeft(B zero,
com.google.common.base.Function<com.atlassian.fugue.Pair<B,A>,B> append)
Copyright © 2018 Atlassian. All rights reserved.