HashMap Class
Hashmap is a helper class useful for:
- manipulating data when doing complex select queries like jointures with the Query class
- creating data for the Chart class
Constructor : Hashmap()
Empty constructorkeys property
This contains the list of keys for the hahmap as a javascript array. This is a stadanrd javascript array.var map = new HashMap(); .... for (var i = 0; i < map.keys.length; i++) { var key = map.keys[i]; ... }
set(key, value)
Stores the value object with a key. Both key and value can be any type.var map = new HashMap(); map.set("mykey", 345); map.set(Date.monthSart(), {label:"Hello", count:345});