|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.monitorenter.reflection.ObjectRecorder.ObjectInspection
public final class ObjectRecorder.ObjectInspection
Data container for the inspection of the internal intance.
| Field Summary | |
|---|---|
protected long |
m_time
Time stamp of the inspection. |
| Constructor Summary | |
|---|---|
protected |
ObjectRecorder.ObjectInspection()
Creates an instance linked to the outer recorder. |
| Method Summary | |
|---|---|
protected void |
add(java.lang.Object value)
Adds an inspected value to this inspection. |
java.lang.Object |
get(int index)
Get the value for the attribute at the given index. |
long |
getTime()
Returns the time stamp in ms of this inspection. |
protected void |
remove(java.lang.Object value)
Removes the inspected value from this inspection. |
java.lang.String |
toString()
Returns a pretty print of this inspection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected long m_time
| Constructor Detail |
|---|
protected ObjectRecorder.ObjectInspection()
| Method Detail |
|---|
protected void add(java.lang.Object value)
value - an inspected value of this inspection.public java.lang.Object get(int index)
index - the index of the inspected value according to the order it was
found on the instance by Class.getDeclaredFields().
public long getTime()
protected void remove(java.lang.Object value)
The value is identified by means of
Object.equals(java.lang.Object).
value - the inspected value from this inspection.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||