clojure.lang
Class Repeat

java.lang.Object
  extended by clojure.lang.Obj
      extended by clojure.lang.ASeq
          extended by 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

Method Summary
static ISeq create(long count, Object val)
           
static Repeat create(Object val)
           
 Object first()
           
 ISeq next()
           
 Object reduce(IFn f)
           
 Object reduce(IFn f, Object start)
           
 Repeat withMeta(IPersistentMap meta)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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 © 2016. All Rights Reserved.