view src/luan/modules/Table.luan @ 1230:034f2a0b3915

better gc
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 04 Apr 2018 14:54:29 -0600
parents 96e7b49ce013
children e8020216dee7
line wrap: on
line source

java()
local TableLuan = require "java:luan.modules.TableLuan"
local JavaLuan = require "java:luan.Luan"

local Table = {}

Table.as_table = JavaLuan.table
Table.clear = TableLuan.clear
Table.concat = TableLuan.concat
Table.copy = TableLuan.copy
Table.hash_value = TableLuan.hash_value
Table.insert = TableLuan.insert
Table.is_empty = TableLuan.is_empty
Table.pack = TableLuan.pack
Table.remove = TableLuan.remove
Table.size = TableLuan.size
Table.sort = TableLuan.sort
Table.unpack = TableLuan.unpack

return Table