public interface Visitable
Visitor.| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Provides each value of this container to the provided
Visitor. |
void accept(Visitor visitor) throws BaseException
Visitor.visitor - the visitor to apply to each value.BaseException - if there is an error while performing the visit