티스토리 뷰
SAM-Conversion이란?
This is possible when the required type is an interface or abstract class with a Single (exactly one) Abstract Methods. Such a class is sometypes called a SAM-type, and the conversion from a lambda expression to an anonymous class is sometimes called SAM-conversion.
http://www.gnu.org/software/kawa/Anonymous-classes.html
Kawa: Anonymous classes
Syntax: object (supers ...) field-or-method-decl ... Lambda as shorthand for anonymous class An anonymous class is commonly used in the Java platform where a function language would use a lambda expression. Examples are call-back handlers, events handlers,
www.gnu.org
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 공연
- 도쿄
- 서울숲별밤축제
- 안드로이드
- 야마다 타카유키
- 노래
- 아사가야
- 에픽하이
- epik high
- android
- 신주쿠
- 인디
- 여행
- Java
- 코이데 케이스케
- Linux
- 진해
- postcrossing
- 포스트크로싱
- 사진
- 잡담
- 드라마
- 음악
- 일어일기
- 책
- 락
- 영화
- Mac
- 일본
- 일기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함