public class Option<T> extends Object
static <T> Option<T>
empty()
boolean
equals(Object o)
T
get()
int
hashCode()
isPresent()
of(T value)
orElse(T other)
String
toString()
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static <T> Option<T> empty()
public static <T> Option<T> of(T value)
public boolean isPresent()
public T get()
public T orElse(T other)
public boolean equals(Object o)
equals
Object
public int hashCode()
hashCode
public String toString()
toString
Copyright © 2015. All rights reserved.