Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
T |
get()
Returns the value if defined.
|
boolean |
isDefined()
Is the value of this option defined?
|
java.util.Iterator<T> |
iterator() |
int |
size() |
java.lang.Object[] |
toArray() |
<R> R[] |
toArray(R[] r) |
java.lang.String |
toString() |
public F.Some(T value)
public boolean isDefined()
F.Option
public int size()
public java.util.Iterator<T> iterator()
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public java.lang.Object[] toArray()
public <R> R[] toArray(R[] r)
public java.lang.String toString()
toString
in class java.lang.Object