public class Either<T,U> extends Object
Modifier and Type | Method and Description |
---|---|
T |
left() |
static <T,U> Either<T,U> |
left(T x) |
static <T,U> Either<T,U> |
of(T x,
U y) |
U |
right() |
static <T,U> Either<T,U> |
right(U y) |
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.