| Modifier and Type | Method and Description |
|---|---|
static <A,B> Either<A,B> |
flatten(Either<A,Either<A,B>> e)
Flatten nested Eithers.
|
static <A,B> Function<Either<A,B>,Option<B>> |
toOption()
Like
Either#right()#toOption(). |
Copyright © 2009–2020 Opencast Project. All rights reserved.