Mercurial Hosting > luan
diff core/src/luan/LuanPropertyTable.java @ 363:17b02b56d806
fix LuanPropertyTable.asMap();
fix binary==binary;
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 16 Apr 2015 10:12:58 -0600 |
parents | 1bce334a816b |
children | 1a464e090538 |
line wrap: on
line diff
--- a/core/src/luan/LuanPropertyTable.java Wed Apr 15 20:33:47 2015 -0600 +++ b/core/src/luan/LuanPropertyTable.java Thu Apr 16 10:12:58 2015 -0600 @@ -55,4 +55,12 @@ }; } + @Override public Map<Object,Object> asMap() { + Map<Object,Object> map = newMap(); + for( Map.Entry<Object,Object> entry : this ) { + map.put(entry.getKey(),entry.getValue()); + } + return map; + } + }