![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
个人总结
文章平均质量分 71
Heisenburg
这个作者很懒,什么都没留下…
展开
-
isAssignableFrom
今天在项目源代码中看到有这么个方法 @SuppressWarnings("unchecked") private Class getServerRpcInterface(Class implementationClass) { Class serverRpcClass = null; if (implementatio原创 2017-08-31 13:12:12 · 346 阅读 · 0 评论 -
输入默认格式,长度相同的时间字符串,返回差值,小数点长度为输入参数的长度
public static String getLongFromSecond(String seconds1, String seconds2) { int position1 = seconds1.indexOf("."); int betweenInteger = 0; if (position1 == -1) { betweenInteger = Integer.parseInt(s原创 2017-09-19 13:07:58 · 476 阅读 · 0 评论