public class FullTextAnd extends FullTextExpression
| Modifier and Type | Field and Description |
|---|---|
List<FullTextExpression> |
list |
PRECEDENCE_AND, PRECEDENCE_OR, PRECEDENCE_TERM| Constructor and Description |
|---|
FullTextAnd(List<FullTextExpression> list) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(FullTextVisitor v)
Let the expression call the applicable visit method of the visitor.
|
boolean |
evaluate(String value)
Evaluate whether the value matches the condition.
|
int |
getPrecedence()
Get the operator precedence.
|
FullTextExpression |
simplify()
Simplify the expression if possible (removing duplicate conditions).
|
String |
toString()
Get the string representation of the condition.
|
equals, hashCode, isNotpublic final List<FullTextExpression> list
public FullTextAnd(List<FullTextExpression> list)
public boolean evaluate(String value)
FullTextExpressionevaluate in class FullTextExpressionvalue - the valuepublic FullTextExpression simplify()
FullTextExpressionpublic String toString()
FullTextExpressiontoString in class FullTextExpressionpublic int getPrecedence()
FullTextExpressiongetPrecedence in class FullTextExpressionpublic boolean accept(FullTextVisitor v)
FullTextExpressionaccept in class FullTextExpressionv - the visitorCopyright © 2010 - 2020 Adobe. All Rights Reserved