<i18n dev> Integrated: 8282319: java.util.Locale method to stream available Locales
Justin Lu
jlu at openjdk.org
Wed Mar 1 00:39:22 UTC 2023
On Fri, 27 Jan 2023 21:48:26 GMT, Justin Lu <jlu at openjdk.org> wrote:
> This PR adds a new method to java.util.Locale which returns Stream<Locale>
>
> The contents of the Stream are composed of the same underlying elements as Locale.getAvailableLocales().
>
> This method allows streaming of the Locale array without creating a defensive copy.
This pull request has now been integrated.
Changeset: 7e47d51e
Author: Justin Lu <jlu at openjdk.org>
Committer: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/7e47d51e10eef7b3bead636d20ff392e7b1dd185
Stats: 116 lines in 3 files changed: 113 ins; 1 del; 2 mod
8282319: java.util.Locale method to stream available Locales
Reviewed-by: stsypanov, naoto, lancea, rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/12269
More information about the i18n-dev
mailing list