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)
  • Method Details

    • create

      static LoopVars.Impl create()
      Creates an empty LoopVars. LoopVars.var("*a", 1) is equivalent to LoopVars.create().var("*a", 1).
    • var

      static LoopVars.Impl var(String var, Object init)
      Declare a var with initial value for first iteration of loop
      Parameters:
      var - Var
      init - Initial value