Mercurial Hosting > luan
comparison core/src/luan/LuanTable.java @ 411:23b99a5039b5
remove Luan.newTable()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 29 Apr 2015 16:05:02 -0600 |
parents | 1b38de2b1845 |
children | 094f37c5e6f9 |
comparison
equal
deleted
inserted
replaced
410:0d6098a29b3e | 411:23b99a5039b5 |
---|---|
21 private LuanTable metatable = null; | 21 private LuanTable metatable = null; |
22 private boolean hasJava = false; | 22 private boolean hasJava = false; |
23 | 23 |
24 public LuanTable() {} | 24 public LuanTable() {} |
25 | 25 |
26 LuanTable(List<Object> list) { | 26 public LuanTable(List<Object> list) { |
27 this.list = list; | 27 this.list = list; |
28 this.map = newMap(); | 28 this.map = newMap(); |
29 map.put("n",list.size()); | 29 map.put("n",list.size()); |
30 for( int i=0; i<list.size(); i++ ) { | 30 for( int i=0; i<list.size(); i++ ) { |
31 if( list.get(i) == null ) { | 31 if( list.get(i) == null ) { |