org.netbeans.insane.model
Interface Item


public interface Item

A representation of a single Object on a heap.


Method Summary
 int getId()
          Provides an unique integer identification of given object.
 int getSize()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 java.util.Enumeration incomming()
          Provides an enumeration of all incomming references.
 java.util.Enumeration outgoing()
          Provides an enumeration of all outgoing references, that is, content of all non-null reference field of the represented object.
 

Method Detail

getType

java.lang.String getType()
Returns:
the type (class name) of the object.

getSize

int getSize()
Returns:
the estimated size of the object represented by this Item

getValue

java.lang.String getValue()
Returns:
the value of the object. For Items representing object of type "[C" (char array), returns the approximate content of the array. For other types returns null.

outgoing

java.util.Enumeration outgoing()
Provides an enumeration of all outgoing references, that is, content of all non-null reference field of the represented object.

Returns:
Enumeration of Items representing objects referenced from object of this Item.

incomming

java.util.Enumeration incomming()
Provides an enumeration of all incomming references.

Returns:
Enumeration of Items representing objects that references object of this Item.

getId

int getId()
Provides an unique integer identification of given object.

Returns:
unique identification of the object represented by this Item.