Class Either.RightProjection<A,B>

java.lang.Object
org.opencastproject.util.data.Either.RightProjection<A,B>
All Implemented Interfaces:
Iterable<B>
Enclosing class:
Either<A,B>

public abstract class Either.RightProjection<A,B> extends Object implements Iterable<B>
Right projection of either.
  • Method Details

    • either

      public abstract Either<A,B> either()
    • bind

      public abstract <X> Either<A,X> bind(Function<B,Either<A,X>> f)
    • value

      public abstract B value()
    • getOrElse

      public abstract B getOrElse(B left)
    • toOptional

      public abstract Optional<B> toOptional()