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