public class NotEqual extends RelationalOperator
Constructor and Description |
---|
NotEqual()
Creates a new relational not-equal operator.
|
Modifier and Type | Method and Description |
---|---|
<T> boolean |
compare(Comparable<T> left,
T right)
Applies the operator to the given operands and returns a boolean value.
|
String |
getIdentifier()
Returns the operator's string identirifer.
|
Value.Type |
getOperandValueType()
Returns the type of value that the operator's operands can have.
|
String |
toString() |
applyTo
public NotEqual()
public <T> boolean compare(Comparable<T> left, T right)
RelationalOperator
compare
in class RelationalOperator
left
- the value of the left operandright
- the value of the right operandpublic String getIdentifier()
Operator
public Value.Type getOperandValueType()
Operator
getOperandValueType
in interface Operator
getOperandValueType
in class RelationalOperator
public String toString()
toString
in class RelationalOperator