
java
文章平均质量分 59
程序猿_十一
小小程序猿
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
一个能开开心心看java源码的插件
在网上看到一个能挺方便的看源码翻译的插件Translation使用效果如下:原创 2021-08-26 16:57:04 · 345 阅读 · 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 · 247 阅读 · 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 · 280 阅读 · 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 · 316 阅读 · 1 评论