|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object clojure.lang.Obj clojure.lang.ASeq clojure.lang.PersistentList
public class PersistentList
Field Summary | |
---|---|
static IFn |
creator
|
static clojure.lang.PersistentList.EmptyList |
EMPTY
|
Constructor Summary | |
---|---|
PersistentList(java.lang.Object first)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class clojure.lang.ASeq |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, equiv, get, hashCode, hasheq, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, more, remove, remove, removeAll, retainAll, seq, set, size, subList, toArray, toArray, toString |
Methods inherited from class clojure.lang.Obj |
---|
meta |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface clojure.lang.IPersistentCollection |
---|
equiv |
Methods inherited from interface clojure.lang.Seqable |
---|
seq |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Field Detail |
---|
public static IFn creator
public static final clojure.lang.PersistentList.EmptyList EMPTY
Constructor Detail |
---|
public PersistentList(java.lang.Object first)
Method Detail |
---|
public static IPersistentList create(java.util.List init)
public java.lang.Object first()
first
in interface ISeq
public ISeq next()
next
in interface ISeq
public java.lang.Object peek()
peek
in interface IPersistentStack
public IPersistentList pop()
pop
in interface IPersistentStack
public int count()
count
in interface Counted
count
in interface IPersistentCollection
count
in class ASeq
public PersistentList cons(java.lang.Object o)
cons
in interface IPersistentCollection
cons
in interface ISeq
cons
in class ASeq
public IPersistentCollection empty()
empty
in interface IPersistentCollection
empty
in class ASeq
public PersistentList withMeta(IPersistentMap meta)
withMeta
in interface IObj
withMeta
in class Obj
public java.lang.Object reduce(IFn f)
reduce
in interface IReduce
public java.lang.Object reduce(IFn f, java.lang.Object start)
reduce
in interface IReduce
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |