package com.seanhandley.projects.BinaryTree;

/**
 * A visitor interface.
 * 
 * @author Sean Handley, 320097@swan.ac.uk
 * @version May 2007
 */
public interface IVisitor<T extends Comparable<T>,R> {
    /**
     * Carry out the operation on the object.
     * 
     * @param t arbitrary object
     * @return arbitrary object
     */
    public R node(T t);
}