Package ushiosan.jvm_utilities.function
Interface Apply.EmptyErrorSafe<T,E extends Throwable>
- Type Parameters:
T- the type of data you enter as a parameterE- the type of error when the interface is called
- All Superinterfaces:
Apply,Apply.EmptyError<T,E>
- Enclosing interface:
- Apply
Very similar to the
Apply interface but with the difference that it can generate
an error at the time of its call.
Unlike Apply.EmptyError this can be called without generating any errors, but its use
is not recommended unless you know what you are doing.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ushiosan.jvm_utilities.function.Apply
Apply.Empty<T>, Apply.EmptyError<T,E extends Throwable>, Apply.EmptyErrorSafe<T, E extends Throwable>, Apply.Result<T, V>, Apply.ResultError<T, V, E extends Throwable>, Apply.ResultErrorSafe<T, V, E extends Throwable> -
Method Summary
Modifier and TypeMethodDescriptiondefault voidThe same behavior ofApply.EmptyError.apply(Object)but without launch any errorMethods inherited from interface ushiosan.jvm_utilities.function.Apply.EmptyError
apply
-
Method Details
-
safeApply
The same behavior ofApply.EmptyError.apply(Object)but without launch any error- Parameters:
item- target element to which the changes will be applied
-