Class DeriveResults.Result<A>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private A result  
    • Constructor Summary

      Constructors 
      Constructor Description
      Result​(A result)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R> R match​(java.util.function.Function<DeriveMessage,​R> error, java.util.function.Function<A,​R> result)  
      • Methods inherited from class java.lang.Object

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

      • result

        private final A result
    • Constructor Detail

      • Result

        Result​(A result)
    • Method Detail

      • match

        public <R> R match​(java.util.function.Function<DeriveMessage,​R> error,
                           java.util.function.Function<A,​R> result)
        Specified by:
        match in class DeriveResult<A>