ovm.polyd.runemu
Class RunaboutCore

java.lang.Object
  extended by ovm.polyd.runemu.RunaboutCore
Direct Known Subclasses:
Runabout

public class RunaboutCore
extends java.lang.Object

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

Only objects are supported (no primitives). The visitDefault facility is available. If primitives are required, please use RunaboutBis instead.


Method Summary
 void visit(java.lang.Object o)
          A "catch-all" visit method, redirected to visitDefault.
 void visitAppropriate(java.lang.Object obj)
          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 (not available in this emulation).
 
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

visitAppropriate

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

Parameters:
obj - 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 (not available in this emulation).

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