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