@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 | Description |
---|---|---|
T |
apply(S value) |
Apply this transformer to the supplied value.
|
Copyright © 2019. All rights reserved.