Java.util.function.Supplier: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{External|https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html}}") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | |||
* https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html | |||
=Internal= | |||
* [[Java 8 Lambda Expressions#Supplier|Java 8 Lambda Expressions]] | |||
=Overview= | |||
<syntaxhighlight lang='java'> | |||
@FunctionalInterface | |||
public interface Supplier<T> { | |||
T get(); | |||
} | |||
</syntaxhighlight> |
Latest revision as of 21:34, 29 March 2018
External
Internal
Overview
@FunctionalInterface
public interface Supplier<T> {
T get();
}