関数型インターフェース

関数型インターフェースを覚えよう!!
java.util.functionパッケージの基本となる4つのインターフェース+α
(Java Gold SE8 対策)
4つの基本型とそれぞれのプリミティブ特殊化型
Supplier<T>
(IntSupplier / LongSupplier / DoubleSupplier /BooleanSupplier)
Predicate<T>
(IntPrediate / LongPredicate / DoublePredicate)
Consumer<T>
(IntConsumer / LongConsumer DoubleConsumer)
Function<T,R>
(IntFunction<R> / LongFunction<R> /DoubleFunction<R>)
(Java Gold SE8 対策)
4つの基本型とそれぞれのプリミティブ特殊化型
Supplier<T>
(IntSupplier / LongSupplier / DoubleSupplier /BooleanSupplier)
Predicate<T>
(IntPrediate / LongPredicate / DoublePredicate)
Consumer<T>
(IntConsumer / LongConsumer DoubleConsumer)
Function<T,R>
(IntFunction<R> / LongFunction<R> /DoubleFunction<R>)
順位 | 名前 | スコア | 称号 | 打鍵/秒 | 正誤率 | 時間(秒) | 打鍵数 | ミス | 問題 | 日付 |
---|---|---|---|---|---|---|---|---|---|---|
1 | ku | 5275 | B++ | 5.2 | 100% | 52.7 | 278 | 0 | 10 | 2025/04/06 |
関連タイピング
-
JAVAの練習用です。
プレイ回数1180長文120秒 -
HTML&CSSを忘れないために
プレイ回数2.6万英語長文759打 -
タッチタイピングを本当にマスターしたい方向けの問題です。
プレイ回数1万英字344打 -
プログラミングを学びたい方は是非!2013/07/03公開
プレイ回数36万1071打 -
コマンドラインやプログラミング言語のタイピング練習用
プレイ回数1612英語長文90秒 -
C言語を用いた記号・数字のタッチタイピング練習です。
プレイ回数1552英語長文220打 -
WEB系エンジニア向け
プレイ回数1892英語長文1462打 -
プレイ回数698短文9打
問題文
ふりがな非表示
ふりがな表示
(supplier<t> t get())
Supplier<T> T get()
(predicate<t> boolean test(t t))
Predicate<T> boolean test(T t)
(consumer<t> void accept(t t))
Consumer<T> void accept(T t)
(function<t,r> r apply(t t))
Function<T,R> R apply(T t)
(bifunction<t,u,r> r apply(t t, u u))
BiFunction<T,U,R> R apply(T t, U u)
(unaryoperator<t> t apply(t t))
UnaryOperator<T> T apply(T t)
(binaryoperator<t> t apply(t t, t t))
BinaryOperator<T> T apply(T t, T t)
(runnable void run())
Runnable void run()
(comparator<t> int compare(t o1, t o2))
Comparator<T> int compare(T o1,T o2)
(callable<v> v call())
Callable<V> V call()