![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 59
程序猿_十一
小小程序猿
展开
-
一个能开开心心看java源码的插件
在网上看到一个能挺方便的看源码翻译的插件Translation 使用效果如下:原创 2021-08-26 16:57:04 · 270 阅读 · 0 评论 -
HashMap部分源码解读
HashMap源码 Hash table based implementation of the Map interface. This implementation provides all of the optional map operations, and permits null values and the null key. (The HashMap class is roughly equivalent to Hashtable, except that it is unsynchroniz原创 2021-08-24 09:59:48 · 177 阅读 · 0 评论 -
截取文件后缀
//截取文件后缀 String s = "frank.mp3"; int lastIndexOf = s.lastIndexOf("."); String suffix = s.substring(lastIndexOf + 1); System.out.println(suffix);原创 2021-08-21 09:26:07 · 211 阅读 · 0 评论 -
重写toString和equals方法
重写toString和equals方法 section 1 重写toString方法 源码: /** * Returns a string representation of the object. In general, the * {@code toString} method returns a string that * "textually represents" this object. The result should * be a concise b原创 2021-07-26 15:49:32 · 250 阅读 · 1 评论