public static final class PersistentVector.ChunkedSeq extends ASeq implements IChunkedSeq, Counted, IReduce, IDrop
Modifier and Type | Field and Description |
---|---|
int |
offset |
PersistentVector |
vec |
Constructor and Description |
---|
ChunkedSeq(PersistentVector vec,
int i,
int offset) |
Modifier and Type | Method and Description |
---|---|
IChunk |
chunkedFirst() |
ISeq |
chunkedMore() |
ISeq |
chunkedNext() |
int |
count() |
Sequential |
drop(int n)
Returns a collection that is Sequential, ISeq, and IReduceInit.
|
Object |
first() |
Iterator |
iterator() |
ISeq |
next() |
Object |
reduce(IFn f) |
Object |
reduce(IFn f,
Object init) |
Obj |
withMeta(IPersistentMap meta) |
add, add, addAll, addAll, clear, cons, contains, containsAll, empty, equals, equiv, get, hashCode, hasheq, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, more, remove, remove, removeAll, retainAll, seq, set, size, subList, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
empty, equiv
replaceAll, sort, spliterator
parallelStream, removeIf, stream
public final PersistentVector vec
public final int offset
public ChunkedSeq(PersistentVector vec, int i, int offset)
public IChunk chunkedFirst()
chunkedFirst
in interface IChunkedSeq
public ISeq chunkedNext()
chunkedNext
in interface IChunkedSeq
public ISeq chunkedMore()
chunkedMore
in interface IChunkedSeq
public Obj withMeta(IPersistentMap meta)
public int count()
public Iterator iterator()
public Object reduce(IFn f, Object init)
reduce
in interface IReduceInit
public Sequential drop(int n)
IDrop
Copyright © 2024. All rights reserved.