On Tue, 28 Mar 2023 21:31:20 GMT, Rémi Forax <fo...@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

Reply via email to