Returns true if the specified object is another
StackTraceElement instance representing the same execution
point as this instance.
Returns true if the specified object is another
StackTraceElement instance representing the same execution
point as this instance. Two stack trace elements
a and
b are equal if and only if:
equals(a.getFileName(), b.getFileName()) &&
a.getLineNumber() == b.getLineNumber()) &&
equals(a.getClassName(), b.getClassName()) &&
equals(a.getMethodName(), b.getMethodName())
where
equals is defined as:
static boolean equals(Object a, Object b) {
return a==b || (a != null && a.equals(b));
}
Returns:
true if the specified object is another
StackTraceElement instance representing the same
execution point as this instance.
Parameters:
-
obj - the object to be compared with this stack trace element.