Top Description Methods
org.jooq.lambda.function

public Interface Function1<T1, R>

extends Function<T1, R>
Annotations
@FunctionalInterface
Imports
java.util.function.Function, org.jooq.lambda.tuple.Tuple1

A function with 1 arguments.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public default R
apply(Tuple1<? extends T1>
The arguments as a tuple.
args
)

Implements java.util.function.Function.apply.

Apply this function to the arguments.

public R
apply(T1 v1)

Redeclares java.util.function.Function.apply.

Apply this function to the arguments.

public default Function0<R>
applyPartially(T1 v1)

Partially apply this function to the arguments.

public default Function0<R>
applyPartially(Tuple1<? extends T1> args)

Partially apply this function to the arguments.

public default Function0<R>
curry(T1 v1)
Deprecated - Use applyPartially(Object) instead.

Partially apply this function to the arguments.

public default Function0<R>
curry(Tuple1<? extends T1> args)
Deprecated - Use applyPartially(Tuple1) instead.

Partially apply this function to the arguments.

public static <T1, R> Function1<T1, R>
from(Function<? super T1, ? extends R> function)

Convert to this function from a java.util.function.Function.

public default Function<T1, R>
toFunction()

Convert this function to a java.util.function.Function.

Inherited from java.util.function.Function:
andThencomposeidentity

Method Detail

applyback to summary
public default R apply(Tuple1<? extends T1> args)

Implements java.util.function.Function.apply.

Apply this function to the arguments.

Parameters
args:Tuple1<? extends T1>

The arguments as a tuple.

applyback to summary
public R apply(T1 v1)

Redeclares java.util.function.Function.apply.

Apply this function to the arguments.

Annotations
@Override
applyPartiallyback to summary
public default Function0<R> applyPartially(T1 v1)

Partially apply this function to the arguments.

applyPartiallyback to summary
public default Function0<R> applyPartially(Tuple1<? extends T1> args)

Partially apply this function to the arguments.

curryback to summary
public default Function0<R> curry(T1 v1)

Deprecated

- Use applyPartially(Object) instead.

Partially apply this function to the arguments.

Annotations
@Deprecated
curryback to summary
public default Function0<R> curry(Tuple1<? extends T1> args)

Deprecated

- Use applyPartially(Tuple1) instead.

Partially apply this function to the arguments.

Annotations
@Deprecated
fromback to summary
public static <T1, R> Function1<T1, R> from(Function<? super T1, ? extends R> function)

Convert to this function from a java.util.function.Function.

toFunctionback to summary
public default Function<T1, R> toFunction()

Convert this function to a java.util.function.Function.