@Immutable public final class OrNode extends LogicalNode
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(RSQLVisitor<R,A> visitor,
A param)
Accepts the visitor, calls its visit() method and returns a result.
|
OrNode |
withChildren(List<? extends Node> children)
Returns a copy of this node with the specified children nodes.
|
equals, getChildren, getOperator, hashCode, iterator, toStringacceptclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic OrNode withChildren(List<? extends Node> children)
LogicalNodewithChildren in class LogicalNodepublic <R,A> R accept(RSQLVisitor<R,A> visitor, A param)
NodeEach implementation must implement this methods exactly as listed:
public <R, A> R accept(RSQLVisitor<R, A> visitor, A param) {
return visitor.visit(this, param);
}
R - Return type of the visitor's method.A - Type of an optional parameter passed to the visitor's method.visitor - The visitor whose appropriate method will be called.param - An optional parameter to pass to the visitor.Copyright © 2011–2016. All rights reserved.