|
jrunscript JavaScript built-ins | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--jlist
Defined in init.js
Constructor Summary | |
jlist
(list)
Creates a convenient script object to deal with java.util.List instances. |
Constructor Detail |
jlist(list)
var x = new java.util.ArrayList(4); x.add('Java'); x.add('JavaScript'); x.add('SQL'); x.add('XML'); var y = jlist(x); print(y[2]); // prints third element of list print(y.length); // prints size of the list
Parameters:
map
- java.util.List instance that will be wrapped
Overview File Class Tree Index Help jrunscript JavaScript built-ins PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Documentation generated by JSDoc on Wed Jun 8 13:29:43 2005