Module org.junit.platform.commons
Interface Try.Transformer<S,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A transformer for values of type
S
to type T
.
The Transformer
interface is similar to Function
,
except that a Transformer
may throw an exception.
-
Method Summary
-
Method Details
-
apply
Apply this transformer to the supplied value.- Throws:
Exception
- if the transformation fails
-