public abstract class SimpleWrapper<T extends OCamlValue> extends java.lang.Object implements Wrapper<T>
AsbtractWrapper
class provides a partial implementation
for the Wrapper
interface, by making the getWrapper(int)
method return a dummy value.Constructor and Description |
---|
SimpleWrapper()
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
Wrapper<? extends OCamlValue> |
getWrapper(int idx)
Returns the wrapper used to wrap
Value elements into
instances of the embedded type at given index. |
public SimpleWrapper()
public final Wrapper<? extends OCamlValue> getWrapper(int idx)
Value
elements into
instances of the embedded type at given index.getWrapper
in interface Wrapper<T extends OCamlValue>
idx
- index of embedded typeValue
elements into
instances of the embedded type at given index