public interface Node
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(RSQLVisitor<R,A> visitor)
Accepts the visitor, calls its visit() method and returns the result.
|
<R,A> R |
accept(RSQLVisitor<R,A> visitor,
A param)
Accepts the visitor, calls its visit() method and returns a result.
|
<R,A> R accept(RSQLVisitor<R,A> visitor, A param)
Each 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.<R,A> R accept(RSQLVisitor<R,A> visitor)
accept(RSQLVisitor, Object) with
null as the second argument.Copyright © 2011–2016. All rights reserved.