@FunctionalInterface public interface Function0<R> extends java.util.function.Supplier<R>
Modifier and Type | Method and Description |
---|---|
default R |
apply()
Apply this function to the arguments.
|
default R |
apply(Tuple0 args)
Apply this function to the arguments.
|
static <R> Function0<R> |
from(java.util.function.Supplier<R> supplier)
Convert to this function from a
Supplier |
R |
get()
Apply this function to the arguments.
|
default java.util.function.Supplier<R> |
toSupplier()
Convert this function to a
Supplier |
default R apply()
default R apply(Tuple0 args)
args
- The arguments as a tuple.R get()
get
in interface java.util.function.Supplier<R>
default java.util.function.Supplier<R> toSupplier()
Supplier
static <R> Function0<R> from(java.util.function.Supplier<R> supplier)
Supplier
Copyright © 2016. All Rights Reserved.