T
public abstract class Option<T> extends Object
protected T
data
Option(T value)
boolean
equals(Object o)
abstract T
get()
getOrElse(T defaultValue)
int
hashCode()
isDefined()
isEmpty()
static <T> Option<T>
option(T value)
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
protected T data
public Option(T value)
public T getOrElse(T defaultValue)
public boolean isDefined()
public boolean isEmpty()
public abstract T get() throws IllegalStateException
IllegalStateException
public static <T> Option<T> option(T value)
public boolean equals(Object o)
equals
Object
public int hashCode()
hashCode
Copyright © 2015. All rights reserved.