clojure.lang
Class Repeat
java.lang.Object
clojure.lang.Obj
clojure.lang.ASeq
clojure.lang.Repeat
- All Implemented Interfaces:
- IHashEq, IMeta, IObj, IPersistentCollection, IReduce, IReduceInit, ISeq, Seqable, Sequential, Serializable, Iterable, Collection, List
public class Repeat
- extends ASeq
- implements IReduce
- See Also:
- Serialized Form
Methods inherited from class clojure.lang.ASeq |
add, add, addAll, addAll, clear, cons, contains, containsAll, count, 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 |
create
public static Repeat create(Object val)
create
public static ISeq create(long count,
Object val)
first
public Object first()
- Specified by:
first
in interface ISeq
next
public ISeq next()
- Specified by:
next
in interface ISeq
withMeta
public Repeat withMeta(IPersistentMap meta)
- Specified by:
withMeta
in interface IObj
- Specified by:
withMeta
in class Obj
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 IReduceInit
Copyright © 2015. All Rights Reserved.