Arrays now implement "Arrayish"

John Rose john.r.rose at oracle.com
Thu Apr 28 17:38:38 UTC 2016


Yes, this is a good reading to hide the adapter interfaces. 

As Brian said, it's all in flux

One missing bit is the interface which generalizes the int index to long (and other types). In one possible world, that would be the only public super of arrays. 

– John

> On Apr 28, 2016, at 6:14 AM, Rémi Forax <forax at univ-mlv.fr> wrote:
> 
> This means by the way that a class can implements Arrayish without providing any implementations so a ClassCastException will be raised.



More information about the valhalla-dev mailing list