摘要: Stream integers = Stream.iterate(BigInteger.ZERO, n->n.add(BigInteger.ONE)); ps: 1.BigInteger.ZERO就是数字零,BigInteger.ONE就是数字二 2.n->n.add(BigInteger.ONE) 阅读全文
posted @ 2024-12-31 14:08 基础狗 阅读(11) 评论(0) 推荐(0)
摘要: try { Scanner in = new Scanner(Paths.get("./myfile.txt"),"UTF-8"); } catch (IOException ioException) { ioException.printStackTrace(); } ps: 1.相对路径使用斜杠 阅读全文
posted @ 2024-12-31 13:13 基础狗 阅读(7) 评论(0) 推荐(0)