Package org.storynode.pigeon.protocol
Interface SafelyWrapped<T>
- All Superinterfaces:
Wrapped<T>
SafelyWrapped interface.
- Author:
- Andrea Coronese
-
Method Summary
-
Method Details
-
tryUnwrap
The non-throwing variant ofWrapped.unwrap(). This is guaranteed to never throw and to always return a non-null value.- Returns:
- An
Optioncontaining the value, or empty if there is none or if an error would be raised while unwrapping said value.
-