Sun SPOT API
Green Release  


com.sun.squawk
Class VMThread.ExecutionPoint

java.lang.Object
  extended by com.sun.squawk.VMThread.ExecutionPoint
Enclosing class:
VMThread

public static class VMThread.ExecutionPoint
extends Object

An ExecutionPoint instance encapsulates the details of a point of execution including the thread, a frame offset, the method to which the frame pertains and the bytecode index of an instruction in the method.


Field Summary
 Offset bci
          The bytecode index of this location.
 Offset frame
          The offset (in bytes) from the top of the stack of this location.
 Object mp
          The method of this location.
 
Constructor Summary
VMThread.ExecutionPoint(Offset frame, Offset bci, Object mp)
           
 
Method Summary
 int hashCode()
          Prevents use of ExecutionPoint instances as keys in a hash table.
 String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

frame

public final Offset frame
The offset (in bytes) from the top of the stack of this location.


bci

public final Offset bci
The bytecode index of this location.


mp

public final Object mp
The method of this location.

Constructor Detail

VMThread.ExecutionPoint

public VMThread.ExecutionPoint(Offset frame,
                               Offset bci,
                               Object mp)
Method Detail

hashCode

public int hashCode()
Prevents use of ExecutionPoint instances as keys in a hash table.

Overrides:
hashCode in class Object
Returns:
a hash code value for this object.
See Also:
Object.equals(java.lang.Object), Hashtable

toString

public String toString()
Description copied from class: Object
Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Overrides:
toString in class Object
Returns:
a string representation of the object.

Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.