public class FullTextOr extends FullTextExpression
| Modifier and Type | Field and Description |
|---|---|
java.util.List<FullTextExpression> |
list |
PRECEDENCE_AND, PRECEDENCE_OR, PRECEDENCE_TERM| Constructor and Description |
|---|
FullTextOr(java.util.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(java.lang.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).
|
java.lang.String |
toString()
Get the string representation of the condition.
|
equals, hashCode, isNotpublic final java.util.List<FullTextExpression> list
public FullTextOr(java.util.List<FullTextExpression> list)
public boolean evaluate(java.lang.String value)
FullTextExpressionevaluate in class FullTextExpressionvalue - the valuepublic FullTextExpression simplify()
FullTextExpressionpublic java.lang.String toString()
FullTextExpressiontoString in class FullTextExpressionpublic int getPrecedence()
FullTextExpressiongetPrecedence in class FullTextExpressionpublic boolean accept(FullTextVisitor v)
FullTextExpressionaccept in class FullTextExpressionv - the visitorCopyright © 2010 - 2023 Adobe. All Rights Reserved