Class Result.ValueTransformer<R>

  • Enclosing class:
    Result<T,​I>

    public class Result.ValueTransformer<R>
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      R orElseUnwrap​(java.util.function.BiFunction<T,​java.util.List<I>,​R> valuetransformer)
      Give access to both the content and the issues in order to build an output.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • orElseUnwrap

        public R orElseUnwrap​(java.util.function.BiFunction<T,​java.util.List<I>,​R> valuetransformer)
        Give access to both the content and the issues in order to build an output.
        Parameters:
        valuetransformer - The function to map both the content and the issues.
        Returns:
        The mapping result.