ListToJObjectArray |
Type | handler |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | ListToJObjectArray(<pList>,<pClass>)
|
Associations | com.livecode.java |
Summary | Convert a List of JObjects into a JObjectArray
|
Parameters | Name | Type | Description |
---|
pList | | The List to convert
|
pClass | | The class name of the JObjects in the List
|
|
Example | variable tArray as JObjectArray
put ListToJObjectArray(\
[StringToJString("foo"), StringToJString("bar")], \
"java/lang/String") into tArray
|
Values | Name | Type | Description |
---|
return | | A JObjectArray where each element is a JObject of class pClass
|
|
Description | Use ListToJObjectArray to convert pList where each element is a JObject
into a JObjectArray. Note all elements of pList must conform
to the class pClass.
|