public final class Eithers extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Eithers.CaseOfMatchers |
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Eithers.CaseOfMatchers.TotalMatcher_Left<A,B> |
caseOf(Either<A,B> either) |
static <A,B> Optional<A> |
getLeft(Either<A,B> either) |
static <A,B> Optional<B> |
getRight(Either<A,B> either) |
static <A,B> Either<A,B> |
left(A left) |
static <A,B> Either<A,B> |
right(B right) |
public static <A,B> Either<A,B> left(A left)
public static <A,B> Either<A,B> right(B right)
public static <A,B> Eithers.CaseOfMatchers.TotalMatcher_Left<A,B> caseOf(Either<A,B> either)
Copyright © 2021 red6 enterprise software GmbH. All rights reserved.