@FunctionalInterface public static interface Try.Transformer<S,T>
S
to type T
.
The Transformer
interface is similar to Function
,
except that a Transformer
may throw an exception.
Modifier and Type | Method and Description |
---|---|
T |
apply(S value)
Apply this transformer to the supplied value.
|
Copyright © 2021. All rights reserved.