On Sun, 30 Jan 2022 03:08:22 GMT, Bernd <duke at openjdk.java.net> wrote: >> Yes, it does. Do you like to use a for-loop, without new object allocation? > > Yes, static helper Thanks for confirm. Updated to use a static helper method. ------------- PR: https://git.openjdk.java.net/jdk/pull/7252