Package ch.codexs.util
Class Result.ContentTransformer<R>
- java.lang.Object
-
- ch.codexs.util.Result.ContentTransformer<R>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RorElseUnwrap(java.util.function.BiFunction<T,java.util.List<I>,R> contentTransformer)Give access to both the content and the issues in order to build an output.
-
-
-
Method Detail
-
orElseUnwrap
public R orElseUnwrap(java.util.function.BiFunction<T,java.util.List<I>,R> contentTransformer)
Give access to both the content and the issues in order to build an output.- Parameters:
contentTransformer- The function to map both the content and the issues.- Returns:
- The mapping result.
-
-