public interface RelationalOperator
Modifier and Type | Field and Description |
---|---|
static RelationalOperator |
EQ
Implementation of the "Equal" operator.
|
static RelationalOperator |
GE
Implementation of the "Greater Than Or Equal" operator.
|
static RelationalOperator |
GT
Implementation of the "Greater Than" operator.
|
static RelationalOperator |
LE
Implementation of the "Lower Than Or Equal" operator.
|
static RelationalOperator |
LT
Implementation of the "Lower Than" operator.
|
static RelationalOperator |
NE
Implementation of the "Not Equal" operator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(double value1,
double value2)
Evaluates this operator from two floating-point values.
|
boolean |
evaluate(int value1,
int value2)
Evaluates this operator from two integer values.
|
static final RelationalOperator GT
static final RelationalOperator LT
static final RelationalOperator GE
static final RelationalOperator LE
static final RelationalOperator EQ
static final RelationalOperator NE
boolean evaluate(int value1, int value2)
value1
- the first integer value.value2
- the second integer value.boolean evaluate(double value1, double value2)
value1
- the first floating-point value.value2
- the second floating-point value.Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.