Mercurial Hosting > luan
view core/src/luan/modules/Table.luan @ 499:fa4af530697f
add http/dump
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 18 May 2015 14:24:50 -0600 |
parents | 55f9f74f1e55 |
children | 92c3d22745b8 |
line wrap: on
line source
java() local TableLuan = require "java:luan.modules.TableLuan" clone = TableLuan.clone concat = TableLuan.concat insert = TableLuan.insert new_property_table = TableLuan.new_property_table pack = TableLuan.pack remove = TableLuan.remove sort = TableLuan.sort sub_list = TableLuan.sub_list unpack = TableLuan.unpack local Luan = require "luan:Luan" local pairs = Luan.pairs function is_empty(t) return pairs(t)() == nil end