public static class Osgl.None<T> extends Osgl.Option<T>
Osgl.Option.f| Modifier and Type | Field and Description |
|---|---|
static Osgl.None |
INSTANCE |
f| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
T |
get()
If a value is present in this
Option, returns the value,
otherwise throws NoSuchElementException. |
Iterator<T> |
iterator() |
String |
toString() |
equals, filter, flatMap, hashCode, isDefined, map, none, notDefined, of, orElse, orElse, runWith, somefinalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final Osgl.None INSTANCE
protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic T get()
Osgl.OptionOption, returns the value,
otherwise throws NoSuchElementException.get in class Osgl.Option<T>Optionpublic String toString()
toString in class Osgl.Option<T>Copyright © 2017. All Rights Reserved.