|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensolaris.os.dtrace.StackFrame
public final class StackFrame
A single stack frame in a StackValueRecord.
Immutable. Supports persistence using XMLEncoder.
| Constructor Summary | |
|---|---|
StackFrame(java.lang.String f)
Creates a single stack frame. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Compares the specified object with this StackFrame for
equality. |
java.lang.String |
getFrame()
Gets the human-readable string representation of this stack frame. |
int |
hashCode()
Overridden to ensure that equal instances have equal hash codes. |
java.lang.String |
toString()
Gets the string representation of this stack frame, in this case the same value returned by getFrame(). |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StackFrame(java.lang.String f)
f - human-readable string representation of this stack frame
java.lang.NullPointerException - if the given string representation
is null| Method Detail |
|---|
public java.lang.String getFrame()
public boolean equals(java.lang.Object o)
StackFrame for
equality. Returns true if and only if the specified
object is also a StackFrame and both instances have the
same human-readable string representation.
equals in class java.lang.Objecttrue if and only if the specified object is also
a StackFrame and both instances have the same
human-readable string representationpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
getFrame().
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||