Class ComparisonContext
java.lang.Object
me.datafox.dfxengine.values.api.comparison.ComparisonContext
- Direct Known Subclasses:
MapComparisonContext
Context used when doing
Comparisons on Values and ValueMaps.
If useModifiedValue() is true, the result of Value.getValue() should be used for the
Comparison, otherwise the result of Value.getBase() should be used instead.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ComparisonContext
public ComparisonContext()
-
-
Method Details
-
useModifiedValue
public boolean useModifiedValue()- Returns:
trueif the result ofValue.getValue()should be used for theComparison, orfalseif the result ofValue.getBase()should be used instead
-
defaults
- Returns:
- ComparisonContext with default values
-