PairCondition
, SimilarityCondition
, SingleCondition
, SingleConditionForPairOfValues
public abstract class Condition
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
CONDITIONAL |
Constant which may be used outside this condition to mark its type, for example when this condition is
passed as method parameter and interpretation of this condition must be also passed.
|
static int |
DECISION |
Constant which may be used outside this condition to mark its type, for example when this condition is
passed as method parameter and interpretation of this condition must be also passed.
|
Modifier and Type | Method | Description |
---|---|---|
abstract Condition |
duplicate() |
Returns duplicate of this condition
|
abstract boolean |
equals(java.lang.Object object) |
Checks if given object is a condition equal to this condition
|
abstract boolean |
fulfilledBy(Example example) |
Checks if given example fulfills this condition
|
AttributeInfo |
getAttributeInfo() |
Gets information about the attribute for which this condition is defined
|
abstract java.lang.String |
toString() |
Gets textual form of this condition
|
public static final int CONDITIONAL
public static final int DECISION
public AttributeInfo getAttributeInfo()
public abstract boolean fulfilledBy(Example example)
example
- example to checktrue
if given example fulfills this condition, false
otherwisepublic abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract Condition duplicate()
public abstract boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- object that should be compared with this conditiontrue
if given object is a condition equal to this condition, false
otherwise