Top Description Methods
org.jooq.lambda.function

public Interface Function0<R>

extends Supplier<R>
Annotations
@FunctionalInterface
Imports
java.util.function.Supplier, org.jooq.lambda.tuple.Tuple0

A function with 0 arguments.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public default R
apply()

Apply this function to the arguments.

public default R
apply(Tuple0
The arguments as a tuple.
args
)

Apply this function to the arguments.

public static <R> Function0<R>
from(Supplier<R> supplier)

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

public R
get()

Redeclares java.util.function.Supplier.get.

Apply this function to the arguments.

public default Supplier<R>
toSupplier()

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

Method Detail

applyback to summary
public default R apply()

Apply this function to the arguments.

applyback to summary
public default R apply(Tuple0 args)

Apply this function to the arguments.

Parameters
args:Tuple0

The arguments as a tuple.

fromback to summary
public static <R> Function0<R> from(Supplier<R> supplier)

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

getback to summary
public R get()

Redeclares java.util.function.Supplier.get.

Apply this function to the arguments.

Annotations
@Override
toSupplierback to summary
public default Supplier<R> toSupplier()

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