摘要:
示例 String json = "{\"resultCode\":\"SUCCESS\",\"resultDesc\":\"SUCCESS\",\"userProfile\":{\"userId\":\"901228507\",\"registTime\":\"20180622161442\",\ 阅读全文
posted @ 2022-03-12 23:34
沾青先生
阅读(71)
评论(0)
推荐(0)
摘要:
代码如下:获取13位时间戳 private static void test14() { System.out.println(System.currentTimeMillis()); System.out.println(Calendar.getInstance().getTimeInMillis 阅读全文
posted @ 2022-03-12 16:05
沾青先生
阅读(2690)
评论(0)
推荐(0)
摘要:
代码如下 String[] words = new String[]{"Hello","World"}; List<String[]> a = Arrays.stream(words) .map(word -> word.split("")) .distinct() .collect(toList( 阅读全文
posted @ 2022-03-12 12:24
沾青先生
阅读(125)
评论(0)
推荐(0)
摘要:
代码如下 //设备总数 List<String> strList = devices.stream().map(Device::getDevice_id).collect(Collectors.toList()); //将Object数组转换为String数组 String[] strByte = 阅读全文
posted @ 2022-03-12 12:16
沾青先生
阅读(2583)
评论(0)
推荐(0)
摘要:
Double d = Double.parseDouble(object.toString());//转intint intBalance = d==null ? 0 : d.intValue();//转doubleDouble d = Double.parseDouble(object.toStr 阅读全文
posted @ 2022-03-12 12:13
沾青先生
阅读(4261)
评论(0)
推荐(0)

浙公网安备 33010602011771号