- 博客(4)
- 收藏
- 关注
转载 String转换Long两种方式
Long.ValueOf(“String”)与Long.parseLong(“String”)的区别 Long.ValueOf(“String”)返回Long包装类型 Long.parseLong(“String”)返回long基本数据类型
2020-09-24 17:48:28 3847
原创 获取本机IP地址(含手机Ip)
public static InetAddress getLocalHostLANAddress() { try { InetAddress candidateAddress = null; // 遍历所有的网络接口 for (Enumeration ifaces = NetworkInterface.getNetworkInterfaces(); ifaces.hasMoreElements(); ) { NetworkInt
2020-05-20 17:07:56 335
原创 spring mvc 数据解析报错
(org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver.java:391) - Failed to invoke @ExceptionHandler method: protected org.springframework.http.ResponseEntity<jav...
2020-04-28 17:21:12 474
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人