You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2019/05/30 16:22:41 UTC
[GitHub] [commons-lang] XenoAmess opened a new pull request #426: Add
function public static T[] fillNew(T[] a)
XenoAmess opened a new pull request #426: Add function public static <T> T[] fillNew(T[] a)
URL: https://github.com/apache/commons-lang/pull/426
Add a function to fill a array with creating new instances of the component class using constructor that accept 0 arguments.
I do think this function is often useful in daily work,
for example when we want to create an array full of AtomicBooleans.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services