<< jwrapinfloat JIMS

JIMS >> JIMS > new

new

Creates a new instance of a Java class

Calling Sequence

class.new([arg1, [, arg2, ...]])

Parameters

class

A mlist typed _JClass

argi

A Scilab data or a mlist typed _JObj

Description

Creates a new instance of a Java class obtained with jimport.

Examples

jimport java.util.Date;
jimport java.lang.System;

t = System.currentTimeMillis();
s = Date.new(t);
d = s.toString()

jremove Date System t s;

See Also

Author


<< jwrapinfloat JIMS