| | |
| | | */ |
| | | public boolean hasSubFrames() |
| | | { |
| | | return (! subordinateFrames.isEmpty()); |
| | | return !subordinateFrames.isEmpty(); |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | stackMap.put(stack, count); |
| | | |
| | | subFrame.recurseSubFrames(stack, (depth-1), count, stacksByMethod); |
| | | subFrame.recurseSubFrames(stack, depth-1, count, stacksByMethod); |
| | | } |
| | | |
| | | |
| | |
| | | @Override |
| | | public int hashCode() |
| | | { |
| | | return (className.hashCode() + methodName.hashCode()); |
| | | return className.hashCode() + methodName.hashCode(); |
| | | } |
| | | |
| | | |
| | |
| | | try |
| | | { |
| | | ProfileStackFrame f = (ProfileStackFrame) o; |
| | | return (className.equals(f.className) && methodName.equals(f.methodName)); |
| | | return className.equals(f.className) && methodName.equals(f.methodName); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | |
| | | * occurrences, with an equivalent number of occurrences falling back on |
| | | * alphabetical by class and method names. |
| | | * |
| | | * @param o The objectfor which to make the comparison. |
| | | * @param o The object for which to make the comparison. |
| | | * |
| | | * @return A negative integer if this stack frame should come before the |
| | | * provided object in a sorted list, a positive integer if it should |