RFR: 8266571: Sequenced Collections [v2]

ExE Boss duke at openjdk.org
Wed Mar 29 06:55:47 UTC 2023


On Tue, 28 Mar 2023 21:31:20 GMT, Rémi Forax <forax at openjdk.org> wrote:

> After all, there is no interface for non-null collections, read-only collections, non structurally modifiable collections or sorted collections, so why an interface for ordered collection ?

There is `SortedMap`, and non‑null collection interfaces are unnecessary with [JEP draft: Null‑Restricted and Nullable Types (Preview)][JEP‑8303099].

[JEP‑8303099]: https://openjdk.org/jeps/8303099 "JEP draft: Null‑Restricted and Nullable Types (Preview)"

-------------

PR Comment: https://git.openjdk.org/jdk/pull/7387#issuecomment-1488036900



More information about the client-libs-dev mailing list