Class ITER_for
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
-
- fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase3
-
- fr.mines_stetienne.ci.sparql_generate.iterator.library.ITER_for
-
- All Implemented Interfaces:
IteratorFunction
public class ITER_for extends IteratorFunctionBase3
Iterator function iter:for iterates over numeric values that start at the first argument, increment by the second argument (positive or negatice), and stops whenever it goes beyond the third argument.See Live example
- Param 1: (a decimal) the first value;
- Param 2: (a decimal) the increment (positive or negative);
- Param 3: (a decimal) the threshold that defines the condition for stopping.
- Author:
- Antoine Zimmermann
-
-
Field Summary
Fields Modifier and Type Field Description static String
URI
-
Fields inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
arguments
-
-
Constructor Summary
Constructors Constructor Description ITER_for()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<NodeValue>>
exec(NodeValue start, NodeValue incr, NodeValue stop)
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase3
checkBuild, exec
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorFunctionBase
exec
-
Methods inherited from class fr.mines_stetienne.ci.sparql_generate.iterator.IteratorStreamFunctionBase
build, exec, getContext
-
-
-
-
Field Detail
-
URI
public static final String URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
exec
public List<List<NodeValue>> exec(NodeValue start, NodeValue incr, NodeValue stop)
Description copied from class:IteratorFunctionBase3
- Specified by:
exec
in classIteratorFunctionBase3
-
-