Class Either.Left<L,​R>

  • Enclosing class:
    Either<L,​R>

    public static class Either.Left<L,​R>
    extends Either<L,​R>
    • Method Detail

      • isLeft

        public boolean isLeft()
        Description copied from class: Either
        Returns true if this is a Either.Left, false otherwise.
        Specified by:
        isLeft in class Either<L,​R>
        Returns:
        true.
      • isRight

        public boolean isRight()
        Description copied from class: Either
        Returns true if this is a Either.Right, false otherwise.
        Specified by:
        isRight in class Either<L,​R>
        Returns:
        false.