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

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

public static class F.Some<T>
extends F.Option<T>


Constructor Summary
F.Some(T value)
           
 
Method Summary
 T get()
           
 boolean isDefined()
           
 Iterator<T> iterator()
           
 String toString()
           
 
Methods inherited from class org.rythmengine.utils.F.Option
None, Some
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

F.Some

public F.Some(T value)
Method Detail

isDefined

public boolean isDefined()
Specified by:
isDefined in class F.Option<T>

get

public T get()
Specified by:
get in class F.Option<T>

iterator

public Iterator<T> iterator()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.