🌈 搜索
📅  最后修改于: 2022-03-11 14:52:24.983000             🧑  作者: Mango
int[] ns = new int[] {1,2,3,4,5}; int[] ms = Arrays.stream(ns).map(n -> n * 2).filter(n -> n % 4 == 0).toArray();