| 限定符和类型 | 类和说明 |
|---|---|
static class |
Either.Left<L,R> |
static class |
Either.Right<L,R> |
| 限定符和类型 | 方法和说明 |
|---|---|
default <U> Either<L,U> |
Either.flatMap(java.util.function.Function<? super R,? extends Either<L,? extends U>> mapper) |
static <L,R> Either<L,R> |
Either.left(L left) |
static <L,R> Either<L,R> |
Either.right(R right) |
| 限定符和类型 | 方法和说明 |
|---|---|
default <U> Either<L,U> |
Either.flatMap(java.util.function.Function<? super R,? extends Either<L,? extends U>> mapper) |
| 限定符和类型 | 方法和说明 |
|---|---|
Either<E,T> |
ValidationAdapter.validatedBy(T entity) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E,T> Either<E,T> |
Validation.failFast(List<Validation<E,T>> validations,
T entity) |
static <E,T> Either<List<E>,T> |
Validation.failOver(List<Validation<E,T>> validations,
T entity) |
Either<E,T> |
Validation.validatedBy(T entity) |
Copyright © 2022. All rights reserved.