|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.libs.F.Option<T> play.libs.F.None<T>
public static class F.None<T>
Represents non-existent values.
Constructor Summary | |
---|---|
F.None()
|
Method Summary | |
---|---|
T |
get()
Returns the value if defined. |
boolean |
isDefined()
Returns true if this value is defined. |
java.util.Iterator<T> |
iterator()
|
java.lang.String |
toString()
|
Methods inherited from class play.libs.F.Option |
---|
getOrElse, map, None, Some |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public F.None()
Method Detail |
---|
public boolean isDefined()
F.Option
true
if this value is defined.
isDefined
in class F.Option<T>
public T get()
F.Option
get
in class F.Option<T>
public java.util.Iterator<T> iterator()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |