public final class ObjectRecorder.ObjectInspection extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
m_time
Time stamp of the inspection.
|
Modifier | Constructor and Description |
---|---|
protected |
ObjectInspection()
Creates an instance linked to the outer recorder.
|
Modifier and Type | Method and Description |
---|---|
protected void |
add(Object value)
Adds an inspected value to this inspection.
|
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(Object value)
Removes the inspected value from this inspection.
|
String |
toString()
Returns a pretty print of this inspection.
|
protected ObjectInspection()
protected void add(Object value)
value
- an inspected value of this inspection.public 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(Object value)
The value is identified by means of
Object.equals(java.lang.Object)
.
value
- the inspected value from this inspection.public String toString()
toString
in class Object
Object.toString()
Copyright © 2001 - 2010 LGPL, All Rights Footloose.