/** * Returns a LeftProjection of this Either. * * @return a new LeftProjection of this * @deprecated Either is right-biased. Use {@link #swap()} instead of projections. */ @Deprecated default LeftProjection<L, R> left() { return new LeftProjection<>(this); }
/** * Returns a LeftProjection of this Either. * * @return a new LeftProjection of this * @deprecated Either is right-biased. Use {@link #swap()} instead of projections. */ @Deprecated default LeftProjection<L, R> left() { return new LeftProjection<>(this); }
@Override public String toString() { return stringPrefix() + "(" + either + ")"; } }
@Override public String toString() { return stringPrefix() + "(" + either + ")"; } }