Jump to content

Associative array/Creation: Difference between revisions

m
Line 1,069:
=={{header|Gosu}}==
As an OOP language with generics Gosu can use any variety of Map classes. In addition Gosu provides associative array syntax for all objects.
<lang scalajavascript>// empty map
var emptyMap = new HashMap<String, Integer>()
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.