Package com.rpl.rama
Interface LoopVars
- All Known Subinterfaces:
LoopVars.Impl
- All Known Implementing Classes:
LoopVars.LoopVarsCollector
public interface LoopVars
Declares vars for a
loopWithVars
call using builder pattern
Example: LoopVars.var("*a", 1).var("*b", 2)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static class
static class
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic LoopVars.Impl
create()
Creates an empty LoopVars.static LoopVars.Impl
Declare a var with initial value for first iteration of loop
-
Method Details
-
create
Creates an empty LoopVars.LoopVars.var("*a", 1)
is equivalent toLoopVars.create().var("*a", 1)
. -
var
Declare a var with initial value for first iteration of loop- Parameters:
var
- Varinit
- Initial value
-