<i18n dev> RFR: 8282319: java.util.Locale method to stream available Locales [v4]
Roger Riggs
rriggs at openjdk.org
Mon Feb 27 18:09:31 UTC 2023
On Mon, 27 Feb 2023 17:37:48 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.
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
>
> Switch {@return for @return for consistency
Marked as reviewed by rriggs (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/12269
More information about the i18n-dev
mailing list