public class Option<T> extends java.lang.Object
static <T> Option<T>
absent()
T
get()
getOr(T defaultValue)
boolean
isAbsent()
isPresent()
of(T value)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static <T> Option<T> of(T value)
public static <T> Option<T> absent()
public boolean isPresent()
public boolean isAbsent()
public T get()
public T getOr(T defaultValue)
Copyright © 2010-2014. All Rights Reserved.