| Modifier and Type | Method and Description |
|---|---|
abstract <X> Either<X,B> |
bind(Function<A,Either<X,B>> f) |
abstract Either<A,B> |
either() |
<X> Either<X,B> |
flatMap(Function<A,Either<X,B>> f) |
abstract A |
getOrElse(A right) |
abstract <X> Either<X,B> |
map(Function<A,X> f) |
abstract List<A> |
toList() |
abstract Option<A> |
toOption() |
abstract A |
value() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, iterator, spliteratorpublic abstract A value()
Copyright © 2009–2021 Opencast Project. All rights reserved.