Package ushiosan.jvm_utilities.function
Interface Apply.ResultErrorSafe<T,V>
- All Superinterfaces:
Apply,Apply.ResultError<T,V>
- Enclosing interface:
- Apply
-
Nested Class Summary
Nested classes/interfaces inherited from interface ushiosan.jvm_utilities.function.Apply
Apply.Empty<T>, Apply.EmptyError<T>, Apply.EmptyErrorSafe<T>, Apply.Result<T,V>, Apply.ResultError<T, V>, Apply.ResultErrorSafe<T, V> -
Method Summary
Modifier and TypeMethodDescriptionThe same behavior ofApply.ResultError.apply(Object)but without launch any errorMethods inherited from interface ushiosan.jvm_utilities.function.Apply.ResultError
apply
-
Method Details
-
safeApply
The same behavior ofApply.ResultError.apply(Object)but without launch any error- Parameters:
item- target element to which the changes will be applied- Returns:
- returns the resulting object after applying the configuration
or
Optional.empty()if action fail
-