clojure.lang
Class Cycle

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

public class Cycle
extends ASeq
implements IReduce, IPending

See Also:
Serialized Form

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

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 Cycle 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.