|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectovm.polyd.runemu.RunaboutStat
public class RunaboutStat
A Runabout emulation that will gather statistics while it runs.
Use RunaboutStat
as you would use a conventional Runabout.
The method printStats
can be used at any time
to print out a summary of the dispatchers created using the
RunaboutStat
as a base class, and of the messages dispatched
using those dispatchers. This emulation does not support primitives.
Method Summary | |
---|---|
static void |
printStats()
Prints a summary of dispatchers and the messages that they have dispatched so far. |
void |
visit(boolean o)
Unused |
void |
visit(byte o)
Unused |
void |
visit(char o)
Unused |
void |
visit(double o)
Unused |
void |
visit(float o)
Unused |
void |
visit(int o)
Unused |
void |
visit(long o)
Unused |
void |
visit(java.lang.Object o)
A "catch-all" visit method, redirected to
visitDefault . |
void |
visit(short o)
Unused |
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 |
---|
public void visit(java.lang.Object o)
visit
method, redirected to
visitDefault
.
o
- the object that should be visitedpublic void visit(char o)
public void visit(byte o)
public void visit(int o)
public void visit(long o)
public void visit(float o)
public void visit(double o)
public void visit(short o)
public void visit(boolean o)
public void visitAppropriate(java.lang.Object obj)
visit
for this object.
obj
- the object that should be visitedpublic void visitAppropriate(java.lang.Object o, java.lang.Class c)
o
- the object that should be visited
(possibly a wrapped primitive)c
- the class of the object (possibly
a primitive type)public static void printStats()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |