public class ArraySeq extends ASeq implements IndexedSeq, IReduce
Modifier and Type | Class and Description |
---|---|
static class |
ArraySeq.ArraySeq_boolean |
static class |
ArraySeq.ArraySeq_byte |
static class |
ArraySeq.ArraySeq_char |
static class |
ArraySeq.ArraySeq_double |
static class |
ArraySeq.ArraySeq_float |
static class |
ArraySeq.ArraySeq_int |
static class |
ArraySeq.ArraySeq_long |
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
array |
(package private) java.lang.Class |
ct |
(package private) int |
i |
(package private) java.lang.Object[] |
oa |
Constructor and Description |
---|
ArraySeq(IPersistentMap meta,
java.lang.Object array,
int i) |
ArraySeq(java.lang.Object array,
int i) |
Modifier and Type | Method and Description |
---|---|
int |
count() |
static ArraySeq |
create() |
static ArraySeq |
create(java.lang.Object... array) |
(package private) static ISeq |
createFromObject(java.lang.Object array) |
java.lang.Object |
first() |
int |
index() |
int |
indexOf(java.lang.Object o) |
int |
lastIndexOf(java.lang.Object o) |
ISeq |
next() |
java.lang.Object |
reduce(IFn f) |
java.lang.Object |
reduce(IFn f,
java.lang.Object start) |
ArraySeq |
withMeta(IPersistentMap meta) |
add, add, addAll, addAll, clear, cons, contains, containsAll, empty, equals, equiv, get, hashCode, hasheq, isEmpty, iterator, listIterator, listIterator, more, remove, remove, removeAll, retainAll, seq, set, size, subList, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
empty, equiv
public final java.lang.Object array
final int i
final java.lang.Object[] oa
final java.lang.Class ct
ArraySeq(java.lang.Object array, int i)
ArraySeq(IPersistentMap meta, java.lang.Object array, int i)
public static ArraySeq create()
public static ArraySeq create(java.lang.Object... array)
static ISeq createFromObject(java.lang.Object array)
public int count()
public int index()
index
in interface IndexedSeq
public ArraySeq withMeta(IPersistentMap meta)
public java.lang.Object reduce(IFn f, java.lang.Object start)
public int indexOf(java.lang.Object o)
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List
lastIndexOf
in class ASeq