Java.util.function.Function: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html =Internal= * Java 8 Lambda Expressions =Over...")
 
Line 8: Line 8:


=Overview=
=Overview=
<syntaxhighlight lang='java'>
@FunctionalInterface
public interface Function<T,R> {
    R apply(T t);
    ....
}
</syntaxhighlight>


=Composition Methods=
=Composition Methods=

Revision as of 19:09, 26 March 2018

External

Internal

Overview

@FunctionalInterface
public interface Function<T,R> {

    R apply(T t);

    ....
}

Composition Methods