3 ms·
Somehow I had it in my head that value types were coming in Java 9. Was I wrong?
by pc2g4d 10y ago
Somehow I had it in my head that value types were coming in Java 9. Was I wrong?
- adimitrov 10y agoProject Valhalla: http://openjdk.java.net/projects/valhalla/ http://openjdk.java.net/projects/valhalla/ No, it's not in 9. It may not even be in 10. Its current status is "Draft" In the meantime, may I suggest alleviating the pain by using the great immutables library: https://immutables.github.io/immutable.html https://immutables.github.io/immutable.html or Google's autoValue: https://github.com/google/auto/tree/master/value https://github.com/google/auto/tree/master/value