|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectplay.libs.F.Option<T>
play.libs.F.Some<T>
public static class F.Some<T>
Represents existing values of type T.
| Constructor Summary | |
|---|---|
F.Some(T value)
|
|
| 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.Some(T value)
| Method Detail |
|---|
public boolean isDefined()
F.Optiontrue 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 | ||||||||