org.ocamljava.runtime.wrappers
package contains classes
allowing to wrap OCaml values (instance of classes that inherit from
org.ocamljava.runtime.values.Value
).See: Description
Interface | Description |
---|---|
OCamlNumber |
The
OCamlNumber interface is similar to the
java.lang.Number class, thus allowing to manipulate OCaml
values wrapping numeric values in the same way as classical Java
wrappers for primitive types. |
Wrapper<T extends OCamlValue> |
The
Wrapper interface defines the contract for a class
allowing to wrap a Value
(internal type of OCaml values) into a
org.ocamljava.runtime.wrappers (allowing easy access and
manipulation from Java code). |
Class | Description |
---|---|
ComposedWrapper<T extends OCamlValue> |
The
AsbtractWrapper class provides a partial implementation
for the Wrapper interface, by taking the elements to be
returned by the getWrapper(int) method as constructor
parameters. |
OCamlArray<T extends OCamlValue> |
The
OCamlArray class is the wrapper class for OCaml values of
type 'a array . |
OCamlBool |
The
OCamlBool class is the wrapper class for OCaml values of
type bool . |
OCamlChar |
The
OCamlChar class is the wrapper class for OCaml values of
type char . |
OCamlExn |
The
OCamlExn class is the wrapper class for OCaml values of
type exn . |
OCamlFloat |
The
OCamlFloat class is the wrapper class for OCaml values of
type float . |
OCamlFunction<T0 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction class represent an OCaml function taking one
parameter. |
OCamlFunction10<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue,T6 extends OCamlValue,T7 extends OCamlValue,T8 extends OCamlValue,T9 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction10 class represent an OCaml function taking ten
parameter. |
OCamlFunction2<T0 extends OCamlValue,T1 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction3 class represent an OCaml function taking two
parameter. |
OCamlFunction3<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction3 class represent an OCaml function taking three
parameter. |
OCamlFunction4<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction4 class represent an OCaml function taking four
parameter. |
OCamlFunction5<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction5 class represent an OCaml function taking five
parameter. |
OCamlFunction6<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction6 class represent an OCaml function taking six
parameter. |
OCamlFunction7<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue,T6 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction7 class represent an OCaml function taking seven
parameter. |
OCamlFunction8<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue,T6 extends OCamlValue,T7 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction8 class represent an OCaml function taking eight
parameter. |
OCamlFunction9<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue,T6 extends OCamlValue,T7 extends OCamlValue,T8 extends OCamlValue,TR extends OCamlValue> |
The
OCamlFunction9 class represent an OCaml function taking nine
parameter. |
OCamlGraphics |
The
OCamlGraphics provides utility methods related to the
Graphics module. |
OCamlInChannel |
The
OCamlInChannel class is the wrapper class for OCaml values of
type int . |
OCamlInt |
The
OCamlInt class is the wrapper class for OCaml values of
type int . |
OCamlInt32 |
The
OCamlInt32 class is the wrapper class for OCaml values of
type int32 . |
OCamlInt64 |
The
OCamlInt64 class is the wrapper class for OCaml values of
type int64 . |
OCamlJavaInstance |
The
OCamlJavaInstance class is the wrapper class for OCaml values of
type java_instance . |
OCamlLazy<T extends OCamlValue> |
The
OCamlLazy class is the wrapper class for OCaml values of
type 'a lazy_t . |
OCamlList<T extends OCamlValue> |
The
OCamlList class is the wrapper class for OCaml values of
type 'a list . |
OCamlNativeInt |
The
OCamlNativeInt class is the wrapper class for OCaml values of
type nativeint . |
OCamlOption<T extends OCamlValue> |
The
OCamlOption class is the wrapper class for OCaml values of
type 'a option . |
OCamlOutChannel |
The
OCamlOutChannel class is the wrapper class for OCaml values of
type int . |
OCamlRef<T extends OCamlValue> |
The
OCamlRef class is the wrapper class for OCaml values of
type 'a ref . |
OCamlString |
The
OCamlString class is the wrapper class for OCaml values of
type string . |
OCamlTuple2<T0 extends OCamlValue,T1 extends OCamlValue> |
The
OCamlOption class is the wrapper class for OCaml values of
type 'a * 'b . |
OCamlTuple3<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue> |
The
OCamlOption class is the wrapper class for OCaml values of
type 'a * 'b * 'c . |
OCamlTuple4<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue> |
The
OCamlOption class is the wrapper class for OCaml values of
type 'a * 'b * 'c * 'd . |
OCamlTuple5<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue> |
The
OCamlOption class is the wrapper class for OCaml values of
type 'a * 'b * 'c * 'd * 'e . |
OCamlTuple6<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue> |
The
OCamlOption class is the wrapper class for OCaml values of
type 'a * 'b * 'c * 'd * 'e * 'f . |
OCamlTuple7<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue,T6 extends OCamlValue> |
The
OCamlOption class is the wrapper class for OCaml values of
type 'a * 'b * 'c * 'd * 'e * 'f * 'g . |
OCamlTuple8<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue,T6 extends OCamlValue,T7 extends OCamlValue> |
The
OCamlOption class is the wrapper class for OCaml values of
type 'a * 'b * 'c * 'd * 'e * 'f * 'g * 'h . |
OCamlUnit |
The
OCamlUnit class is the wrapper class for OCaml values of
type unit . |
OCamlValue |
The
OCamlValue class is the superclass of all classes wrapping
OCaml values. |
OCamlWrappers |
The
OCamlWrappers provides utility methods related to wrappers. |
SimpleWrapper<T extends OCamlValue> |
The
AsbtractWrapper class provides a partial implementation
for the Wrapper interface, by making the getWrapper(int)
method return a dummy value. |
Exception | Description |
---|---|
OCamlAssertFailureException |
The
OCamlAssertFailureException class is the Java counterpart of
the Assert_failure OCaml exception. |
OCamlDivisionByZeroException |
The
OCamlDivisionByZeroException class is the Java counterpart of
the Division_by_zero OCaml exception. |
OCamlEndOfFileException |
The
OCamlEndOfFileException class is the Java counterpart of
the End_of_file OCaml exception. |
OCamlException |
The
OCamlException class is the parent class of all wrapped
OCaml exceptions, also acting as a fallback cases for when the wrapped
exception cannot be precisely mapped. |
OCamlFailureException |
The
OCamlFailureException class is the Java counterpart of
the Failure OCaml exception. |
OCamlInvalidArgumentException |
The
OCamlInvalidArgumentException class is the Java counterpart of
the Invalid_argument OCaml exception. |
OCamlMatchFailureException |
The
OCamlMatchFailureException class is the Java counterpart of
the Match_failure OCaml exception. |
OCamlNotFoundException |
The
OCamlNotFoundException class is the Java counterpart of
the Not_found OCaml exception. |
OCamlOutOfMemoryException |
The
OCamlOutOfMemoryException class is the Java counterpart of
the Out_of_memory OCaml exception. |
OCamlStackOverflowException |
The
OCamlStackOverflowException class is the Java counterpart of
the Stack_overflow OCaml exception. |
OCamlSysBlockedIOException |
The
OCamlSysBlockedIOException class is the Java counterpart of
the Sys_blocked_io OCaml exception. |
OCamlSysErrorException |
The
OCamlSysErrorException class is the Java counterpart of
the Sys_error OCaml exception. |
OCamlUndefinedRecursiveModuleException |
The
OCamlUndefinedRecursiveModuleException class is the Java counterpart of
the Undefined_recursive_module OCaml exception. |
org.ocamljava.runtime.wrappers
package contains classes
allowing to wrap OCaml values (instance of classes that inherit from
org.ocamljava.runtime.values.Value
). wrap
methods), or a newly-created one (through create
methods). ocamlwrap
tool.