Module life.expert
Package life.expert.common.function
contains functional interfaces missing in other functional libraries, for example, you can 1) wrap the method that causes the checked exception with lambda 2) convert the lambda with a checked exception into a lambda that returns an unchecked exception or bool or Try or Mono
-
Interface Summary Interface Description CheckedConsumer3<T1,T2,T3> in order to be able to put the code that calls checked exceptions in lambdaCheckedConsumer4<T1,T2,T3,T4> in order to be able to put the code that calls checked exceptions in lambdaCheckedConsumer5<T1,T2,T3,T4,T5> in order to be able to put the code that calls checked exceptions in lambdaCheckedConsumer6<T1,T2,T3,T4,T5,T6> in order to be able to put the code that calls checked exceptions in lambdaCheckedConsumer7<T1,T2,T3,T4,T5,T6,T7> in order to be able to put the code that calls checked exceptions in lambdaCheckedConsumer8<T1,T2,T3,T4,T5,T6,T7,T8> in order to be able to put the code that calls checked exceptions in lambdaCheckedPredicate3<T1,T2,T3> in order to be able to put the code that calls checked exceptions in lambdaCheckedPredicate4<T1,T2,T3,T4> in order to be able to put the code that calls checked exceptions in lambdaCheckedPredicate5<T1,T2,T3,T4,T5> in order to be able to put the code that calls checked exceptions in lambdaCheckedPredicate6<T1,T2,T3,T4,T5,T6> in order to be able to put the code that calls checked exceptions in lambdaCheckedPredicate7<T1,T2,T3,T4,T5,T6,T7> in order to be able to put the code that calls checked exceptions in lambdaCheckedPredicate8<T1,T2,T3,T4,T5,T6,T7,T8> in order to be able to put the code that calls checked exceptions in lambdaStringUnaryOperator Represents an operation on a String operand that produces a String result. -
Class Summary Class Description CheckedUtils - contains methods that wrap lambdas with checked exceptions inside 1) wrap to bool 2) wrap to unchecked exception 3) wrap to unchecked exception and logNullableUtils wraps the null value returned by the function into an empty flow eventTupleUtils Hepler functions for conversions Vavr's tuple-result into (a,b..)-result Utils is insired by TupleUtils from io.projectreactor.addons:reactor-extra Unlike the library, they allow you to contain null values, which allows you to take input values of methods and check them later with the Flux.error event (not raise exception as in reactor-extra ) Preconditions: none Postconditions: none Side effects: none Tread safety: Immutable