Java.util.function.Supplier: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 11: Line 11:
<syntaxhighlight lang='java'>
<syntaxhighlight lang='java'>
@FunctionalInterface
@FunctionalInterface
public interface Supplier<T> extends Function<T, T> {
public interface Supplier<T> {


     T get();
     T get();

Latest revision as of 21:34, 29 March 2018

External

Internal

Overview

@FunctionalInterface
public interface Supplier<T> {

    T get();

}