Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
abstract T |
get() |
T |
getOrElse(T defaultVal) |
abstract boolean |
isDefined() |
Iterator<T> |
iterator() |
static <T> Option<T> |
none() |
static <T> Option<T> |
option(T value) |
static <T> Option<T> |
some(T value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
Copyright (c) 2004-2017 Saxonica Limited. All rights reserved.