What are sequenced collections in JDK 21, and which calls

I reach for getFirst/getLast on lists and deques instead of magic indexes. For a recent-activity map I use LinkedHashMap as a SequencedMap and...

What are sequenced collections in JDK 21, and which calls · Home · Support the platform