net.sourceforge.cilib.container.visitor
Class InOrderVisitorDecorator<E>
java.lang.Object
net.sourceforge.cilib.container.visitor.Visitor<E>
net.sourceforge.cilib.container.visitor.PrePostVisitor<E>
net.sourceforge.cilib.container.visitor.InOrderVisitorDecorator<E>
- Type Parameters:
E
- The type element.
public class InOrderVisitorDecorator<E>
- extends PrePostVisitor<E>
Simple decorator class that wraps the needed Visitor
to make it compatible
with In-Order Traversals in the Containers defined.
- Author:
- Gary Pampara
Method Summary |
void |
visit(E o)
Visit the provided object. |
Methods inherited from class net.sourceforge.cilib.container.visitor.Visitor |
isDone |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InOrderVisitorDecorator
public InOrderVisitorDecorator(Visitor<E> v)
visit
public void visit(E o)
- Visit the provided object.
- Overrides:
visit
in class PrePostVisitor<E>
- Parameters:
o
- The object to visit.
Copyright © 2009 CIRG. All Rights Reserved.