Hello,

I've committed to HEAD three new ArrayUtils methods and unit tests: 

   add(Object[], Object)
   add(Object[], int, Object)
   join(Object[], Object[])

Please comment on method names or impl.

Thank you to Maarten for the patch the add methods are based on. 
Ticket is: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26056

Gary

> -----Original Message-----
> From: Janek Bogucki [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 29, 2004 14:27
> To: Jakarta Commons Developers List
> Subject: RE: [lang] Array concat?
> 
> On Thu, 2004-01-29 at 12:05, Gary Gregory wrote:
> > Ah, I do recall "join" now, much better.
> >
> > Thanks,
> > Gary
> 
> concat is the best choice because join implies the introduction of a
> delimiter between the two arrays which is not the outcome, while append
> implies the extension of an existing object somehow and arrays don't get
> extended. To me, concat does hint at the production of a new object.
> 
> -Janek
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to