SAM(single-abstract-methid interface)インターフェース
SAM | 戻り値 | 引数 | 利用メソッド |
---|---|---|---|
IntBinaryOperator | int | int, int | applyAsInt |
IntToLongFunction | long | int | applyAsLong |
IntToDoubleFunction | double | int | applyAsDouble |
IntConsumer | void | int | accept |
IntSupplier | int | なし | getAsInt |
IntPredicate | boolean | int | test |