javatools.datatypes
Interface Visitable<T>

All Known Implementing Classes:
Tree

public interface Visitable<T>

This class is part of the Java Tools (see http://mpii.de/yago-naga/javatools). It is licensed under the Creative Commons Attribution License (see http://creativecommons.org/licenses/by/3.0) by the YAGO-NAGA team (see http://mpii.de/yago-naga). This interface is for the common visitor design pattern.


Method Summary
 boolean receive(Visitor<T> visitor)
          Sends a visitor through all elements.
 

Method Detail

receive

boolean receive(Visitor<T> visitor)
                throws java.lang.Exception
Sends a visitor through all elements. Returns whatever the visitor returned.

Throws:
java.lang.Exception