Class Either<A,​B>

    • Constructor Summary

      Constructors 
      Constructor Description
      Either()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      (package private) abstract <X> X fold​(java.util.function.Function<A,​X> left, java.util.function.Function<B,​X> right)  
      • Methods inherited from class java.lang.Object

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

      • Either

        Either()
    • Method Detail

      • fold

        abstract <X> X fold​(java.util.function.Function<A,​X> left,
                            java.util.function.Function<B,​X> right)