티스토리 뷰
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
- 724,949
- Today
- 1
- Yesterday
- 17
링크
TAG
- 안드로이드
- 진해
- epik high
- android
- 도쿄
- 인디
- 일어일기
- 코이데 케이스케
- 영화
- Mac
- 일기
- 에픽하이
- 포스트크로싱
- Java
- 여행
- 아사가야
- 락
- 공연
- 야마다 타카유키
- 사진
- 드라마
- postcrossing
- 일본
- Linux
- 책
- 서울숲별밤축제
- 음악
- 잡담
- 노래
- 신주쿠