public class EqualsExpression extends BinaryExpression
| 限定符和类型 | 字段和说明 |
|---|---|
boolean |
ignoreCase |
left, right| 构造器和说明 |
|---|
EqualsExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isIgnoreCase() |
boolean |
isNot() |
boolean |
isTrue(Object o,
Query q)
Return whether this expression evaluates to
true. |
void |
setIgnoreCase(boolean v) |
void |
setNot(boolean v) |
String |
toString()
Return a string version of the expression.
|
getExpectedReturnType, getLeft, getRight, getValue, hasFixedResult, init, setLeft, setRightisBracketed, setBracketedpublic void setIgnoreCase(boolean v)
public boolean isIgnoreCase()
public boolean isNot()
public void setNot(boolean v)
public boolean isTrue(Object o, Query q) throws QueryExecutionException
true.isTrue 在类中 Expressiono - The current object to perform the expression on.q - The Query object.true if the expression evaluates to true, false
otherwise.QueryExecutionException - If the expression cannot be evaluated.public String toString()
Expression [ $ ] [ ! ] = ExpressiontoString 在类中 ExpressionCopyright © 2021. All rights reserved.