public class Option<T> extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Option<T> |
absent() |
T |
get() |
T |
getOr(T defaultValue) |
boolean |
isAbsent() |
boolean |
isPresent() |
static <T> Option<T> |
of(T value) |
Copyright © 2010-2015. All Rights Reserved.