Modifier and Type | Method and Description |
---|---|
static <T extends OCamlValue> |
OCamlOption.create()
Constructs a new
'a option value, and wraps it. |
static <T extends OCamlValue> |
OCamlOption.create(T v)
Constructs a new
'a option value, and wraps it. |
static <T extends OCamlValue> |
OCamlOption.wrap(Wrapper<T> w,
org.ocamljava.runtime.values.Value v)
Wraps the passed value.
|
Modifier and Type | Method and Description |
---|---|
Wrapper<? extends OCamlOption<T>> |
OCamlOption.getWrapper()
Returns the wrapper used to wrap
Value elements into
instances of the current class. |
static <T extends OCamlValue> |
OCamlOption.wrapper(Wrapper<T> w)
Returns a wrapper for
OCamlOption values. |