05 2022 档案

摘要:Runnable runnable = () -> { System.out.println("@@@"); }; runnable.run(); Runnable 为Java本身提供的一个函数式接口Lambda表达式 闭包 阅读全文
posted @ 2022-05-24 17:36 小破防今天尚未破防! 阅读(25) 评论(0) 推荐(0) 编辑
摘要:Stream: A sequence of elements supporting sequential and parallel aggregate operations.(一个支持顺序和并行聚合的序列) List存储的每个元素都是已经存储在内存中的某个Java对象 Stream输出的元素可能并没 阅读全文
posted @ 2022-05-24 17:26 小破防今天尚未破防! 阅读(26) 评论(0) 推荐(0) 编辑
摘要:import java.util.*; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System 阅读全文
posted @ 2022-05-23 08:56 小破防今天尚未破防! 阅读(83) 评论(0) 推荐(0) 编辑
摘要:import java.util.*; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System 阅读全文
posted @ 2022-05-23 07:33 小破防今天尚未破防! 阅读(58) 评论(0) 推荐(0) 编辑
摘要:1 import java.util.*; 2 3 // 注意类名必须为 Main, 不要有任何 package xxx 信息 4 public class Main { 5 public static void main(String[] args) { 6 Scanner in = new Sc 阅读全文
posted @ 2022-05-23 07:05 小破防今天尚未破防! 阅读(60) 评论(0) 推荐(0) 编辑

跟随粒子特效
点击右上角即可分享
微信分享提示