public abstract class TraversalUtilVisitor<T> extends Object
Constructor and Description |
---|
TraversalUtilVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
apply(T element)
Apply method if there is no need to access the surrounding elements
|
void |
apply(T element,
Object parent,
List<Object> siblings) |
public void apply(T element, Object parent, List<Object> siblings)
element
- parent
- (logical?)parent in the of the elementsiblings
- List of the element (this includes the element itself).
This list can't be changed while the visitor is running(!)public void apply(T element)
element
- Copyright © 2007-2018. All Rights Reserved.