You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gary Gregory <gg...@seagullsw.com> on 2004/01/28 22:43:38 UTC

[lang] Array concat?

Hello,

I've just come across the need to concatenate 2 arrays and there is no such
thing in ArrayUtils. 

Any opposition to adding concat/append(type, type) methods? Is there a
better method name? "append", "concat", ?

Gary

Re: [lang] Array concat?

Posted by Henri Yandell <ba...@generationjava.com>.
join?

As in how we join two Strings in StringUtils [well, n Strings, with a
delimiter].

concat and append both suggest one of the arrays is receiving the other
one, and not that we're getting a new array.

Hen

On Wed, 28 Jan 2004, Gary Gregory wrote:

> Hello,
>
> I've just come across the need to concatenate 2 arrays and there is no such
> thing in ArrayUtils.
>
> Any opposition to adding concat/append(type, type) methods? Is there a
> better method name? "append", "concat", ?
>
> Gary
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org