public class PersistentList extends ASeq implements IPersistentList, IReduce, java.util.List, Counted
| Modifier and Type | Field and Description |
|---|---|
static IFn |
creator |
static clojure.lang.PersistentList.EmptyList |
EMPTY |
| Constructor and Description |
|---|
PersistentList(java.lang.Object first) |
| Modifier and Type | Method and Description |
|---|---|
PersistentList |
cons(java.lang.Object o) |
int |
count() |
static IPersistentList |
create(java.util.List init) |
IPersistentCollection |
empty() |
java.lang.Object |
first() |
ISeq |
next() |
java.lang.Object |
peek() |
IPersistentList |
pop() |
java.lang.Object |
reduce(IFn f) |
java.lang.Object |
reduce(IFn f,
java.lang.Object start) |
PersistentList |
withMeta(IPersistentMap meta) |
add, add, addAll, addAll, clear, contains, containsAll, equals, equiv, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, more, remove, remove, removeAll, retainAll, seq, set, size, stream, subList, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitequivadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArraypublic static IFn creator
public static final clojure.lang.PersistentList.EmptyList EMPTY
public static IPersistentList create(java.util.List init)
public java.lang.Object peek()
peek in interface IPersistentStackpublic IPersistentList pop()
pop in interface IPersistentStackpublic int count()
public PersistentList cons(java.lang.Object o)
public IPersistentCollection empty()
empty in interface IPersistentCollectionempty in class ASeqpublic PersistentList withMeta(IPersistentMap meta)
public java.lang.Object reduce(IFn f) throws java.lang.Exception