On Fri, 27 Jan 2023 21:48:26 GMT, Justin Lu <j...@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.

Marked as reviewed by stsypanov (Author).

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

PR: https://git.openjdk.org/jdk/pull/12269

Reply via email to