|
TUM CCSM Commons | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ITreeWalker | |
|---|---|
| edu.tum.cs.commons.constraint | Generic classes used for validating constraints. |
| edu.tum.cs.commons.visitor | Visitor interface and traversal code. |
| Uses of ITreeWalker in edu.tum.cs.commons.constraint |
|---|
| Methods in edu.tum.cs.commons.constraint with parameters of type ITreeWalker | ||
|---|---|---|
|
ConstraintValidator.validateTree(T root,
ITreeWalker<T,X_WALKER> walker)
Validates all nodes of a tree. |
|
|
ConstraintValidator.validateTree(T root,
ITreeWalker<T,X_WALKER> walker,
IExceptionHandler<ConstraintViolationException,X> handler)
Validates all nodes of a tree. |
|
| Uses of ITreeWalker in edu.tum.cs.commons.visitor |
|---|
| Methods in edu.tum.cs.commons.visitor with parameters of type ITreeWalker | ||
|---|---|---|
static
|
VisitorUtils.visitAllPreOrder(T root,
ITreeWalker<T,X1> walker,
IVisitor<T,X2> visitor)
Visits all nodes of a tree in pre-order, i.e. a node is visited directly before its children. |
|
static
|
VisitorUtils.visitLeaves(T root,
ITreeWalker<T,X1> walker,
IVisitor<T,X2> visitor)
Visits all leaves of a tree, i.e. those nodes without children. |
|
|
TUM CCSM Commons | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||