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