Project Valhalla – Generic Specialization
Last week I wrote about value types, which are one of the new language features that are being investigated for a future version of Java. This time I’ll explain another possible new language feature being investigated in Project Valhalla: generic specialization. In Java, you can only use reference types as...