java8 functionalInterface Function Java 8 FunctionalInterface 1/4 Function Function 예제/** * Function, The Transformer * function consumer predicate supplier */ /* //abstract class instance Function toInt = new Function(){ @Override public Integer apply(String value){ return Integer.parseInt(value); } }; int result = toInt.apply("100"); System.out.println(result); */ //mapper, String -> Integer Function toInt = value->Integer.pars.. 더보기 이전 1 2 3 4 5 6 7 8 ··· 26 다음