org.rythmengine.utils
Class F.Option<T>

java.lang.Object
  extended by org.rythmengine.utils.F.Option<T>
All Implemented Interfaces:
Iterable<T>
Direct Known Subclasses:
F.None, F.Some
Enclosing class:
F

public abstract static class F.Option<T>
extends Object
implements Iterable<T>


Constructor Summary
F.Option()
           
 
Method Summary
abstract  T get()
           
abstract  boolean isDefined()
           
static
<T> F.None<T>
None()
           
static
<T> F.Some<T>
Some(T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Iterable
iterator
 

Constructor Detail

F.Option

public F.Option()
Method Detail

isDefined

public abstract boolean isDefined()

get

public abstract T get()

None

public static <T> F.None<T> None()

Some

public static <T> F.Some<T> Some(T value)


Copyright © 2013. All Rights Reserved.