public final class Cons extends ASeq implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
_first |
private ISeq |
_more |
Constructor and Description |
---|
Cons(IPersistentMap meta,
java.lang.Object _first,
ISeq _more) |
Cons(java.lang.Object first,
ISeq _more) |
Modifier and Type | Method and Description |
---|---|
int |
count() |
java.lang.Object |
first() |
ISeq |
more() |
ISeq |
next() |
Cons |
withMeta(IPersistentMap meta) |
add, add, addAll, addAll, clear, cons, contains, containsAll, empty, equals, equiv, get, hashCode, hasheq, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, seq, set, size, subList, toArray, toArray, toString
private final java.lang.Object _first
private final ISeq _more
public Cons(java.lang.Object first, ISeq _more)
public Cons(IPersistentMap meta, java.lang.Object _first, ISeq _more)
public int count()
count
in interface IPersistentCollection
count
in class ASeq