public class SupplierUtilsKt
Modifier and Type | Method and Description |
---|---|
static <T> org.tinylog.Supplier<T> |
asSupplier(kotlin.jvm.functions.Function0<? extends T> $receiver)
Converts a function type into a supplier.
|
static <T> org.tinylog.Supplier[] |
asSuppliers(kotlin.jvm.functions.Function0[] $receiver)
Converts an array of function types into an array of suppliers.
|
@NotNull public static <T> org.tinylog.Supplier<T> asSupplier(@NotNull kotlin.jvm.functions.Function0<? extends T> $receiver)
Converts a function type into a supplier.
@NotNull public static <T> org.tinylog.Supplier[] asSuppliers(@NotNull kotlin.jvm.functions.Function0[] $receiver)
Converts an array of function types into an array of suppliers.