Class EitherKt

  • All Implemented Interfaces:

    
    public final class EitherKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <A extends Any> Either<A, Void> left(A $self)
      final static <B extends Any> Either<Void, B> right(B $self)
      final static <T extends Any> T unwrap(Either<T, T> $self)
      final static <A extends Any, B extends Any> B getOrElse(Either<A, B> $self, Function1<A, B> default)
      final static <A extends Any, B extends Any, C extends Any> Either<A, C> flatMap(Either<A, B> $self, Function1<B, Either<A, C>> right)
      final static <A extends Any, B extends Any, C extends Any> Either<C, B> flatMapLeft(Either<A, B> $self, Function1<A, Either<C, B>> left)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait