supplier 썸네일형 리스트형 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 다음