T1
- type 1T2
- type 2public final class Either<T1,T2> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Either.PresentDirection |
Modifier and Type | Method and Description |
---|---|
boolean |
areBothPresent() |
Optional<T1> |
getLeft() |
Either.PresentDirection |
getPresentDirection() |
Optional<T2> |
getRight() |
Copyright © 2019–2022. All rights reserved.