Interface ScopedKeyValues.CallableOp<R, X extends Throwable>
- Type Parameters:
R- return type.X- exception type the operation may throw.
- Enclosing class:
ScopedKeyValues
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
java.lang.ScopedValue.CallableOp but declared here so this API module
never has to reference java.lang.ScopedValue itself, keeping it compilable
on older JDKs - the real ScopedValue-backed provider (a separate module
requiring a newer JDK) bridges the two with a plain method reference, since both
interfaces share the same R call() throws X shape.-
Method Summary
-
Method Details
-
call
-