🌈 搜索
📅  最后修改于: 2022-03-11 14:52:34.603000             🧑  作者: Mango
// creating stream from array int[] arr = {1, 2, 3, 4}; Arrays.stream(arr); Stream.of(arr); // same as above