![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
别再犯2了系列
guai821
这个作者很懒,什么都没留下…
展开
-
string equals比的是char[]
[code="java"] public boolean equals(Object anObject) { if (this == anObject) { return true; } if (anObject instanceof String) { String anotherString = (String) anObject; ...原创 2011-08-16 15:27:28 · 339 阅读 · 0 评论 -
getStackTrace人家才初始化的
[code="java"] public StackTraceElement[] getStackTrace() { return (StackTraceElement[]) getOurStackTrace().clone(); } private synchronized StackTraceElement[] getOurStackTrace() ...原创 2011-08-16 15:33:27 · 181 阅读 · 0 评论