|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ForEachNumberAction
Iterates over an inclusive range of numbers. The numbers can be integers or floating point numbers. The range can progress in a positive or negative direction. Each number in sequence is returned to the flow context.
The For Each Number Action returns its result in the same format as the For Each Collection Element Action. For more information on accessing and using the result, seeForEachCollectionElementAction
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface flux.ForEachAction |
---|
ForEachAction.For_Each_Res, ForEachAction.ForEachResult |
Method Summary | |
---|---|
double |
getEndOfRange()
Returns the end of the range of numbers. |
double |
getStartOfRange()
Returns the start of the range of numbers. |
double |
getStepping()
Returns the distance between successive numbers in the range. |
void |
setEndOfRange(double end)
Sets the end of the range of numbers. |
void |
setEndOfRange(long end)
Sets the end of the range of numbers. |
void |
setExpirationFlow(Action action)
Sets the flow to follow after this for each number action expires. |
void |
setStartOfRange(double start)
Sets the start of the range of numbers. |
void |
setStartOfRange(long start)
Sets the start of the range of numbers. |
void |
setStepping(double stepping)
Sets the distance between successive numbers in the range. |
void |
setStepping(long stepping)
Sets the distance between successive numbers in the range. |
Methods inherited from interface flux.ForEachAction |
---|
getLoopIndex, setLoopIndex |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Method Detail |
---|
double getEndOfRange()
double getStartOfRange() throws EngineException
EngineException
- If a system error occurs.double getStepping()
void setEndOfRange(double end)
end
- The end of the range.void setEndOfRange(long end)
end
- The end of the range.void setExpirationFlow(Action action)
setExpirationFlow
in interface ForEachAction
action
- The action that executes next after this for each number
action expires.void setStartOfRange(double start)
start
- The start of the range.void setStartOfRange(long start)
start
- The start of the range.void setStepping(double stepping)
stepping
- The distance between successive numbers in the range.
java.lang.IllegalArgumentException
- If stepping is less than 0.void setStepping(long stepping) throws EngineException
stepping
- The distance between successive numbers in the range.
java.lang.IllegalArgumentException
- If stepping is less than 0.
EngineException
- If a system error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |