Package eu.bandm.tools.ramus.runtime2
Class Option
java.lang.Object
eu.bandm.tools.ramus.runtime2.Data
eu.bandm.tools.ramus.runtime2.Option
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget()
abstract Data
abstract boolean
static Option
viewOptional
(Data.View<A> body) static <A> Data.View<A>
viewOrElse
(Data.View<A> body, A defaultValue) static <A> Data.View<A>
viewOrElse
(Data.View<A> body, Supplier<? extends A> defaultValue)
-
Field Details
-
none
-
-
Constructor Details
-
Option
public Option()
-
-
Method Details
-
just
-
isPresent
public abstract boolean isPresent() -
get
-
getOrElse
-
getOrElse
-
viewOrElse
-
viewOrElse
-
viewOptional
-