import fj.data.Option; public class Example { public static void main(String[] args) { Option<Integer> result = Option.some(5) .map(x -> x + 3) .filter(x -> x > 5); result.forEach(System.out::println); } }


上一篇:
下一篇:
切换中文