Package de.redsix.dmncheck.util
Class Either<A,B>
- java.lang.Object
-
- de.redsix.dmncheck.util.Either<A,B>
-
@Data(@Derive(make={constructors,caseOfMatching,getters})) public abstract class Either<A,B> extends Object
-
-
Constructor Summary
Constructors Constructor Description Either()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <C> Either<A,C>bind(Function<B,Either<A,C>> function)abstract booleanequals(@Nullable Object obj)abstract inthashCode()<C> Either<A,C>map(Function<B,C> function)abstract <X> Xmatch(Function<A,X> left, Function<B,X> right)static <A,B>
Collector<Either<A,B>,?,Either<A,List<B>>>reduce()abstract StringtoString()
-