New (Sequenced) Collections In Java 21 - Inside Java Newscast #45#videoAll lists, some sets, and some maps have an encounter order, but the collections framework has no type to capture this property and define operations like getting or removing first and last elements or iterating in reverse order. Sequenced collections will fix that in Java 21.
24 Java Features You Missed In 2022 - Inside Java Newscast #39#videoJDK 18 and JDK 19 preview a number of big ticket features but they also come with a lot of smaller improvements. Here are 24 less-known features that were added to Java in 2022. Among them additions to
HashMap, Security and GC improvements, Custom Localized Date-Time Formats and an Internet Address Resolution SPI, and much more.
Sequenced Collections, Purity, and more at JavaOne - Inside Java Newscast #31#videoSequenced collections introduce an abstraction for collections with a known encounter order like all lists and some sets and maps. It will be easy to add, get, or remove the first and last elements and to iterate or stream in reverse order. We're also discussing immutable collections and pure functions. More on all of this at JavaOne!
Why Don't They Just... ?! The Deliberations Behind Evolving Java#talkThere are many nifty features that Java could have but doesn't. Somewhat surprisingly, there are reasons for that and in this talk I'll discuss those for a few concrete cases as well as the deliberations behind such decisions.
Immutable Collections In Java - Not Now, Not Ever#postThe JDK contains immutable collections, but no type
ImmutableCollection. Here's why that's so and why it won't change.
Code-First Java 9 Tutorial#postShowing code for the most important Java 9 features: private interface methods, stream and optional APIs, collection factories, reactive streams, stack walking, multi-release JARs, redirected platform logging, unified logging, the module system, and more. If you're new to Java 9, start here.
Transforming Collections#postTransforming collections are a view onto another collection, making it appear to be of a different parametric type. They are available in LibFX 0.3.0.