ovm.polyd.runemu
Class RunaboutBis

java.lang.Object
  extended by ovm.polyd.runemu.RunaboutBis

public class RunaboutBis
extends java.lang.Object

An accurate Runabout emulation, this class can be used as a "drop-in" replacement.

All major features are supported, including support for primitives and the visitDefault facility. It leaves out only the calls that are more closely associated with the internal implementation of the original Runabout: addExternalVisit and getAppropriateCode.


Method Summary
 void visit(boolean o)
          A "catch-all" visit method, redirected to visitDefault.
 void visit(byte o)
          A "catch-all" visit method, redirected to visitDefault.
 void visit(char o)
          A "catch-all" visit method, redirected to visitDefault.
 void visit(double o)
          A "catch-all" visit method, redirected to visitDefault.
 void visit(float o)
          A "catch-all" visit method, redirected to visitDefault.
 void visit(int o)
          A "catch-all" visit method, redirected to visitDefault.
 void visit(long o)
          A "catch-all" visit method, redirected to visitDefault.
 void visit(java.lang.Object o)
          A "catch-all" visit method, redirected to visitDefault.
 void visit(short o)
          A "catch-all" visit method, redirected to visitDefault.
 void visitAppropriate(java.lang.Object o)
          The bridge method that performs the actual dispatching, calling the appropriate visit for this object.
 void visitAppropriate(java.lang.Object o, java.lang.Class c)
          The bridge method that performs the dispatching for objects or primitives.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

visit

public void visit(java.lang.Object o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the object that should be visited

visit

public void visit(char o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the char that should be visited

visit

public void visit(byte o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the byte that should be visited

visit

public void visit(int o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the int that should be visited

visit

public void visit(long o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the long that should be visited

visit

public void visit(float o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the float that should be visited

visit

public void visit(double o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the double that should be visited

visit

public void visit(short o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the short that should be visited

visit

public void visit(boolean o)
A "catch-all" visit method, redirected to visitDefault.

Parameters:
o - the boolean that should be visited

visitAppropriate

public void visitAppropriate(java.lang.Object o)
The bridge method that performs the actual dispatching, calling the appropriate visit for this object.

Parameters:
o - the object that should be visited

visitAppropriate

public void visitAppropriate(java.lang.Object o,
                             java.lang.Class c)
The bridge method that performs the dispatching for objects or primitives.

Parameters:
o - the object that should be visited (possibly a wrapped primitive)
c - the class of the object (possibly a primitive type)