public class Range extends ASeq implements IReduce, Counted
Modifier and Type | Field and Description |
---|---|
(package private) int |
end |
(package private) int |
n |
Constructor and Description |
---|
Range(int start,
int end) |
Range(IPersistentMap meta,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
count() |
java.lang.Object |
first() |
ISeq |
next() |
java.lang.Object |
reduce(IFn f) |
java.lang.Object |
reduce(IFn f,
java.lang.Object start) |
Obj |
withMeta(IPersistentMap meta) |
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
public Range(int start, int end)
public Range(IPersistentMap meta, int start, int end)
public Obj withMeta(IPersistentMap meta)
public java.lang.Object reduce(IFn f, java.lang.Object start)