Contents
Introduction
Object instance: arrays
Description
Methods in this object will be replaced with table object in future releases.
Handles some conversion between Java arrays or lists & Lua tables.
Methods
arrays:fromTable
arrays:fromTable table
- Converts an indexed table to Java array.
- Parameters:
- table table Table with contents to be transferred to new array.
- Returns: New
Object[]instance. - Replace with
table.toArray.
- Replace with
arrays:toArray
arrays:toArray table
- Use arrays:fromTable.
- Converts an indexed table to Java array.
- Parameters:
- table table Table with contents to be transferred to new array.
- Returns: New
Object[]instance.
arrays:toList
arrays:toList table
- Use table.toList.
- Converts an indexed table to Java
List. - Parameters:
- table table Table with contents to be transferred to new list.
- Returns: New
Listinstance.
arrays:toTable
arrays:toTable list