Class Either<A,​B>


  • public abstract class Either<A,​B>
    extends Object
    • Constructor Detail

      • Either

        public Either()
    • Method Detail

      • newLeft

        public static <A,​B> Either<A,​B> newLeft​(A a)
      • newRight

        public static <A,​B> Either<A,​B> newRight​(B b)
      • left

        public abstract A left()
      • right

        public abstract B right()