hex.rf
Class Tree.TreeVisitor<T extends java.lang.Exception>

java.lang.Object
  extended by hex.rf.Tree.TreeVisitor<T>
Enclosing class:
Tree

public abstract static class Tree.TreeVisitor<T extends java.lang.Exception>
extends java.lang.Object

Abstract visitor class for serialized trees.


Field Summary
protected  AutoBuffer _ts
           
 
Constructor Summary
Tree.TreeVisitor(AutoBuffer tbits)
           
 
Method Summary
protected  Tree.TreeVisitor<T> leaf(int tclass)
           
protected  Tree.TreeVisitor<T> mid(int col, float fcmp)
           
protected  Tree.TreeVisitor<T> post(int col, float fcmp)
           
protected  Tree.TreeVisitor<T> pre(int col, float fcmp, int off0, int offl, int offr)
           
 Tree.TreeVisitor<T> visit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ts

protected final AutoBuffer _ts
Constructor Detail

Tree.TreeVisitor

public Tree.TreeVisitor(AutoBuffer tbits)
Method Detail

leaf

protected Tree.TreeVisitor<T> leaf(int tclass)
                                                        throws T extends java.lang.Exception
Throws:
T extends java.lang.Exception

pre

protected Tree.TreeVisitor<T> pre(int col,
                                  float fcmp,
                                  int off0,
                                  int offl,
                                  int offr)
                                                       throws T extends java.lang.Exception
Throws:
T extends java.lang.Exception

mid

protected Tree.TreeVisitor<T> mid(int col,
                                  float fcmp)
                                                       throws T extends java.lang.Exception
Throws:
T extends java.lang.Exception

post

protected Tree.TreeVisitor<T> post(int col,
                                   float fcmp)
                                                        throws T extends java.lang.Exception
Throws:
T extends java.lang.Exception

visit

public final Tree.TreeVisitor<T> visit()
                                                            throws T extends java.lang.Exception
Throws:
T extends java.lang.Exception