Class Overview
Useful methods for working with Options
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Methods
public
static
Function<A, Option<B>>
asNone
()
public
static
Function<A, Option<A>>
asSome
()
Projects out any none() values from its input iterable,
returning the resulting iterable
Parameters
| as
| An iterable of optional values |
Returns
- An iterable containing the elements of
as that were not none()
public
static
Predicate<Option<A>>
isDefined
()