第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

代碼
提交代碼
import java.util.function.Function; public class DemoFunction { public static void main(String[] args) { doApply(s -> Integer.parseInt(s)); doCombine( str -> Integer.parseInt(str)+10, i -> i *= 10 ); } private static void doApply(Function<String, Integer> function) { int num = function.apply("10"); System.out.println(num + 20); } private static void doCombine(Function<String, Integer> first, Function<Integer, Integer> second) { int num = first.andThen(second).apply("10"); System.out.println(num + 20); } }
運(yùn)行結(jié)果