clojure.lang
Class Iterate

java.lang.Object
  extended by clojure.lang.Obj
      extended by clojure.lang.ASeq
          extended by clojure.lang.Iterate
All Implemented Interfaces:
IHashEq, IMeta, IObj, IPending, IPersistentCollection, IReduce, IReduceInit, ISeq, Seqable, Sequential, Serializable, Iterable, Collection, List

public class Iterate
extends ASeq
implements IReduce, IPending

See Also:
Serialized Form

Method Summary
static ISeq create(IFn f, Object seed)
           
 Object first()
           
 boolean isRealized()
           
 ISeq next()
           
 Object reduce(IFn rf)
           
 Object reduce(IFn rf, Object start)
           
 Iterate 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 ISeq create(IFn f,
                          Object seed)

isRealized

public boolean isRealized()
Specified by:
isRealized in interface IPending

first

public Object first()
Specified by:
first in interface ISeq

next

public ISeq next()
Specified by:
next in interface ISeq

withMeta

public Iterate withMeta(IPersistentMap meta)
Specified by:
withMeta in interface IObj
Specified by:
withMeta in class Obj

reduce

public Object reduce(IFn rf)
Specified by:
reduce in interface IReduce

reduce

public Object reduce(IFn rf,
                     Object start)
Specified by:
reduce in interface IReduceInit


Copyright © 2015. All Rights Reserved.