Interface Either<T,U>

All Known Implementing Classes:
Either.Left, Either.Right

public sealed interface Either<T,U> permits Either.Left<T,V>, Either.Right<U,V>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
     
    static final record 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<T>
     
    default Optional<U>