Previous
Up
Next
Module
JavaPervasives
module
JavaPervasives:
sig
..
end
An initially-opened module for Java.
The module is automatically opened when
-java-extensions
is passed to the
ocamljava
compiler.
val
(|.)
:
('a -> 'b) -> 'a -> 'b
Akin to
Pervasives.(@@)
, with a different priority allowing to chain calls with parameters:
Java.make "..." |> Java.call "..." |. p1 |. ... |. pn |> ...
val
(!@)
:
string ->
java'lang'String java_instance
Synonym for
JavaString.of_string
.
val
(^^^)
:
java'lang'String java_instance
->
java'lang'String java_instance
->
java'lang'String java_instance
Concatenation of Java strings.