Package | Description |
---|---|
io.jooby |
Modifier and Type | Method and Description |
---|---|
static <V,R> SneakyThrows.Function<V,R> |
SneakyThrows.throwingFunction(SneakyThrows.Function<V,R> fn)
Factory method for
SneakyThrows.Function and Function . |
Modifier and Type | Method and Description |
---|---|
static <V,R> SneakyThrows.Function<V,R> |
SneakyThrows.throwingFunction(SneakyThrows.Function<V,R> fn)
Factory method for
SneakyThrows.Function and Function . |
default <T extends Enum<T>> |
Value.toEnum(SneakyThrows.Function<String,T> fn)
Convert this value to an Enum.
|
default <T extends Enum<T>> |
Value.toEnum(SneakyThrows.Function<String,T> fn,
Function<String,String> nameProvider)
Convert this value to an Enum.
|
default <T> T |
Value.value(SneakyThrows.Function<String,T> fn)
Convert value using the given function.
|
Copyright © 2019. All rights reserved.