1 |
/* StackTraceElement.java -- One function call or call stack element |
/* StackTraceElement.java -- One function call or call stack element |
2 |
Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
241 |
* @param o2 the second object |
* @param o2 the second object |
242 |
* @return o1 == null ? o2 == null : o1.equals(o2) |
* @return o1 == null ? o2 == null : o1.equals(o2) |
243 |
*/ |
*/ |
244 |
private static final boolean equals(Object o1, Object o2) |
private static boolean equals(Object o1, Object o2) |
245 |
{ |
{ |
246 |
return o1 == null ? o2 == null : o1.equals(o2); |
return o1 == null ? o2 == null : o1.equals(o2); |
247 |
} |
} |
252 |
* @param o the object to hash |
* @param o the object to hash |
253 |
* @return o1 == null ? 0 : o1.hashCode() |
* @return o1 == null ? 0 : o1.hashCode() |
254 |
*/ |
*/ |
255 |
private static final int hashCode(Object o) |
private static int hashCode(Object o) |
256 |
{ |
{ |
257 |
return o == null ? 0 : o.hashCode(); |
return o == null ? 0 : o.hashCode(); |
258 |
} |
} |