Class Either.Right<L,​R>

  • Enclosing class:
    Either<L,​R>

    public static class Either.Right<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:
        false.
      • 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:
        true.