Notice
Recent Posts
Recent Comments
Link
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Tags
more
Archives
Today
Total
관리 메뉴

끄적끄적

[java] 람다 Functional Interface 본문

개발

[java] 람다 Functional Interface

으아아아앜 2020. 3. 12. 16:18

Interface

 Function Descriptor

 Abstract method

 Predicate<T>

 (T) -> boolean

 boolean test(T t);

 Consumer<T>

 (T) -> void

 void accept(T t);

 Function<T,R>

 (T) -> R

 R apply(T t);

 Supplier<T>

 () -> T

 T get();

 UnaryOperator<T>

 (T) -> T

 T apply(T t);

 

 

 

참고 : https://tourspace.tistory.com/6?category=788398

Comments