Java.util.function.Supplier: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 11: | Line 11: | ||
<syntaxhighlight lang='java'> | <syntaxhighlight lang='java'> | ||
@FunctionalInterface | @FunctionalInterface | ||
public interface | public interface Supplier<T> extends Function<T, T> { | ||
T | T get(); | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 21:34, 29 March 2018
External
Internal
Overview
@FunctionalInterface
public interface Supplier<T> extends Function<T, T> {
T get();
}