V
- Input type.R
- Output type.@FunctionalInterface public static interface SneakyThrows.Function<V,R> extends Function<V,R>
Function
.
The apply(Object)
method throws checked exceptions using SneakyThrows.propagate(Throwable)
method.Modifier and Type | Method and Description |
---|---|
default R |
apply(V v)
Apply this function to the given argument and produces a result.
|
R |
tryApply(V value)
Apply this function to the given argument and produces a result.
|
Copyright © 2020. All rights reserved.