Class TupleValueProvider
java.lang.Object
tools.refinery.interpreter.matchers.tuple.TupleValueProvider
- All Implemented Interfaces:
IValueProvider
- Since:
- 1.7
-
Constructor Summary
ConstructorsConstructorDescriptionTupleValueProvider
(ITuple tuple, Map<String, Integer> indexMapping) Wraps a tuple with an index mapping -
Method Summary
-
Constructor Details
-
TupleValueProvider
Wraps a tuple with an index mapping- Parameters:
tuple
-indexMapping
-
-
-
Method Details
-
getValue
Description copied from interface:IValueProvider
Returns the value of the selected variable- Specified by:
getValue
in interfaceIValueProvider
- Parameters:
variableName
-- Returns:
- the value of the variable; never null
-