public static class LoopVars.LoopVarsCollector extends java.lang.Object implements LoopVars.Impl
LoopVars.Impl, LoopVars.LoopVar, LoopVars.LoopVarsCollector
Modifier | Constructor and Description |
---|---|
protected |
LoopVarsCollector(clojure.lang.PersistentVector vars) |
Modifier and Type | Method and Description |
---|---|
clojure.lang.PersistentVector |
getVars() |
LoopVars.Impl |
var(java.lang.String var,
java.lang.Object init)
Declare a var with initial value for first iteration of loop
|
protected LoopVarsCollector(clojure.lang.PersistentVector vars)
public LoopVars.Impl var(java.lang.String var, java.lang.Object init)
LoopVars.Impl
var
in interface LoopVars.Impl
var
- Varinit
- Initial valuepublic clojure.lang.PersistentVector getVars()