getJavaObject
Create a Java object from the given object native to Mathnium.
(y)=getJavaObject(obj)
Inputs
obj An object.
Outputs
y If the input is already a Java object, the output is the same as the input. Otherwise, an attempt is made to create a Java object from the input.


Example
>>v=getJavaObject(2)
>>v
2
>>class(v)
JavaObject_java.lang.Integer
>>class(2)
Int