@Data(value=@Derive(make={constructors,caseOfMatching,getters}))
public abstract class Either<A,B>
extends Object
| Constructor and Description |
|---|
Either() |
| Modifier and Type | Method and Description |
|---|---|
<C> Either<A,C> |
bind(Function<B,Either<A,C>> function) |
abstract boolean |
equals(@Nullable Object obj) |
abstract int |
hashCode() |
<C> Either<A,C> |
map(Function<B,C> function) |
abstract <X> X |
match(Function<A,X> left,
Function<B,X> right) |
static <A,B> Collector<Either<A,B>,?,Either<A,List<B>>> |
reduce() |
abstract String |
toString() |
Copyright © 2021 red6 enterprise software GmbH. All rights reserved.