Java Stream API와 함수형 인터페이스의 관계를 설명해주세요. #100
Sung-june27
started this conversation in
Java
Replies: 2 comments
-
|
Java의 Stream API의 각 연산 메서드는 내부적으로 Predicate, Function, Consumer와 같은 함수형 인터페이스를 기반으로 한 람다식을 인자로 받아서 처리합니다. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Java Stream API는 함수형 인터페이스륾 매개변수로 받아 람다식을 통해 로직을 수행하는 구조로 설계되어 있습니다. 스트림의 중간 연산과 최종 연산은 대부분 Predicate, Function, Consumer, Supplier 와 같은 표준 함수형 인터페이스를 사용합니다. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
.
Beta Was this translation helpful? Give feedback.
All reactions