|
|
|
|
|
by dustin1114
4125 days ago
|
|
The Java (5+) Map interface can be typed using generics (which -- if JS eventually introduces static typing -- I hope is implemented). Map<String, Integer> = new HashMap<String, Integer>();
That declares a Map with a String key and Integer value. Is this what you're thinking of? |
|