Tagged: 람다식

[JAVA8] IntStream , Lamda 활용

IntStream과 람다식 응용하기 import java.util.Collections; import java.util.List; import java.util.function.IntPredicate; import java.util.stream.Collectors; import java.util.stream.IntStream; class IntStream_Ex { public static void main(String[] args) { IntStream.range(0, 10).forEach((int value) -> System.out.println(value)); System.out.println(“MAX with Lamda:...