clojure.lang
Class PersistentVector.ChunkedSeq

java.lang.Object
  extended by clojure.lang.Obj
      extended by clojure.lang.ASeq
          extended by clojure.lang.PersistentVector.ChunkedSeq
All Implemented Interfaces:
Counted, IChunkedSeq, IHashEq, IMeta, IObj, IPersistentCollection, ISeq, Seqable, Sequential, Serializable, Iterable, Collection, List
Enclosing class:
PersistentVector

public static final class PersistentVector.ChunkedSeq
extends ASeq
implements IChunkedSeq, Counted

See Also:
Serialized Form

Field Summary
 int offset
           
 PersistentVector vec
           
 
Constructor Summary
PersistentVector.ChunkedSeq(PersistentVector vec, int i, int offset)
           
 
Method Summary
 IChunk chunkedFirst()
           
 ISeq chunkedMore()
           
 ISeq chunkedNext()
           
 int count()
           
 Object first()
           
 ISeq next()
           
 Obj withMeta(IPersistentMap meta)
           
 
Methods inherited from class clojure.lang.ASeq
add, add, addAll, addAll, clear, cons, contains, containsAll, empty, 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.ISeq
cons, more
 
Methods inherited from interface clojure.lang.IPersistentCollection
empty, equiv
 
Methods inherited from interface clojure.lang.Seqable
seq
 

Field Detail

vec

public final PersistentVector vec

offset

public final int offset
Constructor Detail

PersistentVector.ChunkedSeq

public PersistentVector.ChunkedSeq(PersistentVector vec,
                                   int i,
                                   int offset)
Method Detail

chunkedFirst

public IChunk chunkedFirst()
Specified by:
chunkedFirst in interface IChunkedSeq

chunkedNext

public ISeq chunkedNext()
Specified by:
chunkedNext in interface IChunkedSeq

chunkedMore

public ISeq chunkedMore()
Specified by:
chunkedMore in interface IChunkedSeq

withMeta

public Obj withMeta(IPersistentMap meta)
Specified by:
withMeta in interface IObj
Specified by:
withMeta in class Obj

first

public Object first()
Specified by:
first in interface ISeq

next

public ISeq next()
Specified by:
next in interface ISeq

count

public int count()
Specified by:
count in interface Counted
Specified by:
count in interface IPersistentCollection
Overrides:
count in class ASeq


Copyright © 2015. All Rights Reserved.