Interface Either<A,B>

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

public sealed interface Either<A,B> permits Either.Left<A>, Either.Right<B>
An Either is always either an instance of Either.Left or Either.Right effectively giving a union type of two other types.