Expanding LVTI support for Lambda Parameters in Java 11

Java 10 allows implicit typing for local variables. You can get a quick refresher here. Fast forward 6 months, Java 11 will be supporting local variable syntax support for Lambda Parameters in an implicitly typed lambda expression. Here is an example from the spec:   With this support, annotations can be added to local variables … Continue reading Expanding LVTI support for Lambda Parameters in Java 11

Local Variable Type Inference in Java 10

One handy feature that made the cut in JDK 10 release train is Local-Variable Type Inference (JEP-286). This language feature is part of project Amber, a successor to Project Coin 🙂 With more frequent releases planned for the Java platform, we could expect to see 2 feature releases this year, so March release will be … Continue reading Local Variable Type Inference in Java 10