public class NominalCondition extends Condition
Attribute is equal to a certain value.| Constructor and Description |
|---|
NominalCondition(@NotNull Attribute attribute,
double value)
Creates a new nominal condition.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
testValue(double value)
The method that must be overridden by implementing subclasses in order to check whether a
specific value satisfies the condition or not.
|
java.lang.String |
toString() |
equals, getAttribute, getValue, hashCode, testpublic NominalCondition(@NotNull
@NotNull Attribute attribute,
double value)
attribute - The attribute, the condition corresponds tovalue - The value of the conditionprotected boolean testValue(double value)
Conditionpublic java.lang.String toString()
toString in class java.lang.Object