clojure.lang
Class ArrayChunk
java.lang.Object
clojure.lang.ArrayChunk
- All Implemented Interfaces:
- Counted, IChunk, Indexed, Serializable
public final class ArrayChunk
- extends Object
- implements IChunk, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayChunk
public ArrayChunk(Object[] array)
ArrayChunk
public ArrayChunk(Object[] array,
int off)
ArrayChunk
public ArrayChunk(Object[] array,
int off,
int end)
nth
public Object nth(int i)
- Specified by:
nth
in interface Indexed
nth
public Object nth(int i,
Object notFound)
- Specified by:
nth
in interface Indexed
count
public int count()
- Specified by:
count
in interface Counted
dropFirst
public IChunk dropFirst()
- Specified by:
dropFirst
in interface IChunk
reduce
public Object reduce(IFn f,
Object start)
- Specified by:
reduce
in interface IChunk
Copyright © 2013. All Rights Reserved.