일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Cloud Storage
- Cloud Spanner
- Amazon Web Service
- Cloud SQL
- 앤서블
- kubernetes
- AWS Database
- Google Cloud Platform
- GKE
- Kubernetes Engine
- container
- AWS Certificate
- Google Cloud Platorm
- gcp
- VPC
- 아마존웹서비스
- Cloud Bigtable
- playbook
- 리버스 프록시
- AWS 자격증
- AWS Solution Architect
- Google Cloud Platrofm
- Google Cloud
- ansible
- Solution Architect
- Cloud Datastore
- Compute Engine
- AWS
- Solution Architect Certificate
- Reverse Proxy
- Today
- Total
sungwony
[JAVA8] java.util.function 패키지 본문
java.util.function 패키지
Java 8에 추가되었으며 람다 표현식을 보조하는 인터페이스를 모아놓은 패키지이다.
Function, Supplier, Consumer, Predicate, UnaryOperator, BinaryOperator 등의 인터페이스가 있으며,
람다 표현식으로 선언될 추상 메소드를 하나씩 가지고 있다.
- boolean test(T t)
- default Predicate<T> and(Predicate<? super T> other)
- default Predicate<T> or(Predicate<? super T> other)
- default Predicate<T> negate(Predicate<? super T> other)
- static <T> Predicate<T> isEqual(Object targetRef)
- T get()
- void Accept(T t)
- default Consumer<T> andThen(Consumer<? super T> after)
- R apply(T t)
- default <V> Function<T, V> andThen(Function <? super R, ? extends V> after)
- defualt <V> Function<V, R> compose(Function <? super V, ? extends T> before)
- static <T> Function<T, T> identity()
- Function<T, T>를 상속받은 인터페이스
- static <T> unaryOperator<T> identity()
- BiFunction<T, T, T>를 상속받은 인터페이스
- static <T> BinaryOperator<T> maxBy(Comparator<? super T> comparator)
- static <T> BinaryOperator<T> minBy(Comparator<? super T> comparator)
'language > java' 카테고리의 다른 글
[JAVA8] 메소드 참조 (0) | 2018.06.28 |
---|---|
[JAVA8] Stream (0) | 2018.06.27 |
[JAVA8] 람다(Lambda) 표현식 (0) | 2018.06.26 |
[JAVA8] 자바8 목차 (0) | 2018.06.26 |
JVM(Java Virtual Machine) Runtime Data Area (0) | 2018.02.14 |