Java, Java8, Java21, Java17, Migration.
collections, sequenced sets, and sequenced maps, which are added to the existing hierarchy of collections JEP 431: Sequenced Collections SequencedCollection interface aids the encounter order by adding a reverse method as well as the ability to get the first and the last elements. Furthermore,