(A a)
| 35 | } |
| 36 | |
| 37 | public static <A extends @Nullable Object, B extends @Nullable Object> Either<A, B> left(A a) { |
| 38 | return new Either<>(a, null); |
| 39 | } |
| 40 | |
| 41 | public static <A extends @Nullable Object, B extends @Nullable Object> Either<A, B> right(B b) { |
| 42 | return new Either<>(null, b); |
no outgoing calls