JEP proposed to target JDK 21: 431: Sequenced Collections

Mark Reinhold mark.reinhold at oracle.com
Thu Mar 9 21:27:36 UTC 2023


The following JEP is proposed to target JDK 21:

  431: Sequenced Collections
       https://openjdk.org/jeps/431

  Summary: Introduce new interfaces to represent collections with a
  defined encounter order.  Each such collection has a well-defined first
  element, second element, and so forth, up to the last element.  It also
  provides uniform APIs for accessing its first and last elements, and
  for processing its elements in reverse order.
  
  "Life can only be understood backwards; but it must be lived forwards."
  — Kierkegaard
  

Feedback on this proposal from JDK Project Committers and Reviewers [1]
is more than welcome, as are reasoned objections.  If no such objections
are raised by 23:59 UTC on Thursday, 16 March, or if they’re raised and
then satisfactorily answered, then per the JEP 2.0 process proposal [2]
I’ll target this JEP to JDK 21.

- Mark


[1] https://openjdk.org/census#jdk
[2] https://cr.openjdk.java.net/~mr/jep/jep-2.0-02.html


More information about the jdk-dev mailing list