Mercurial Hosting > luan
comparison src/luan/modules/TableLuan.java @ 1578:c922446f53aa
immutable threading
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 08 Feb 2021 14:16:19 -0700 |
parents | 8fbcc4747091 |
children | 19df8abc9805 |
comparison
equal
deleted
inserted
replaced
1577:60e5c324adf9 | 1578:c922446f53aa |
---|---|
110 if( to == null ) | 110 if( to == null ) |
111 to = list.rawLength(); | 111 to = list.rawLength(); |
112 return list.rawSubList(from,to); | 112 return list.rawSubList(from,to); |
113 } | 113 } |
114 | 114 |
115 public static void clear(LuanTable tbl) { | 115 public static void clear(LuanTable tbl) throws LuanException { |
116 tbl.rawClear(); | 116 tbl.rawClear(); |
117 } | 117 } |
118 | 118 |
119 public static int hash_value(LuanTable tbl) throws LuanException { | 119 public static int hash_value(LuanTable tbl) throws LuanException { |
120 return tbl.hashValue(); | 120 return tbl.hashValue(); |