Collection Overloading: Collection access through [ i ] or [i, j]
Collection Overloading: Just a little syntatic sugar that would REALLY solve many of the problems associated with using Java for Scientific Computing. No change to JVM just javac. Not new but needs mentioning.
Allow classes with methods:
set(int i, V value);
to be accesses through
Also allow access to multidimensional classes with methods:
get(int i, int j);
set(int i, int j, V value);
Matrix and List class usage would be GREATLY Simplified. If really daring could allow index to be of any type (String for example) like in Groovy.
a["One"] = 1
Again, don't see any changes to JVM or compatibility and shouldn't be too hard on parser. If parser has problem then change syntac to whatever works.
This isn't usuable for Scientific Community:
a.set(i, j, b.get(k, l));
This is USABLE:
a[i] = b[j];
a[i, j] = b[k, l];