clojure.lang
Class Range
java.lang.Object
clojure.lang.Obj
clojure.lang.ASeq
clojure.lang.Range
- All Implemented Interfaces:
- Counted, IHashEq, IMeta, IObj, IPersistentCollection, IReduce, ISeq, Seqable, Sequential, Serializable, Iterable, Collection, List
public class Range
- extends ASeq
- implements IReduce, Counted
- See Also:
- Serialized Form
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 |
Range
public Range(int start,
int end)
Range
public Range(IPersistentMap meta,
int start,
int end)
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
reduce
public Object reduce(IFn f)
- Specified by:
reduce
in interface IReduce
reduce
public Object reduce(IFn f,
Object start)
- Specified by:
reduce
in interface IReduce
count
public int count()
- Specified by:
count
in interface Counted
- Specified by:
count
in interface IPersistentCollection
- Overrides:
count
in class ASeq
Copyright © 2012. All Rights Reserved.