@Deprecated public abstract class Condition extends Object
Constructor and Description |
---|
Condition()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Condition |
equals(int attr,
double value)
Deprecated.
Condition that checks if the given attribute has a value "equal" to the given value
|
static Condition |
greaterOrEquals(int attr,
double value)
Deprecated.
Condition that checks if the given attribute has a value "greater or equal" than the given value
|
abstract boolean |
isTrueFor(Instance instance)
Deprecated.
Returns true is the checked instance matches the condition
|
static Condition |
lesser(int attr,
double value)
Deprecated.
Condition that checks if the given attribute has a value "lesser" than the given value
|
public abstract boolean isTrueFor(Instance instance)
instance
- checked instancepublic static Condition equals(int attr, double value)
public static Condition lesser(int attr, double value)
public static Condition greaterOrEquals(int attr, double value)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.