You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2011/07/17 08:33:00 UTC

[jira] [Commented] (LANG-660) Add methods to insert arrays into arrays at an index

    [ https://issues.apache.org/jira/browse/LANG-660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066595#comment-13066595 ] 

Matt Benson commented on LANG-660:
----------------------------------

There are issues here:
* {{addAll(int[], int, int...)}} conflicts with {{addAll(int[], int...)}}
* {{addAll(int[], int, int[])}} violates symmetry with {{addAll(int[], int...)}}
* putting the target index first e.g. {{addAll(int, int[], int...)}} works, but violates symmetry with {{add(int[], int, int)}}

Beats me.

> Add methods to insert arrays into arrays at an index
> ----------------------------------------------------
>
>                 Key: LANG-660
>                 URL: https://issues.apache.org/jira/browse/LANG-660
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 2.5
>            Reporter: Aaron Digulla
>            Priority: Minor
>             Fix For: 3.x
>
>         Attachments: ArrayUtils.txt, ArrayUtilsAddTest.txt, ArrayUtilsAddTest_addAll.patch, ArrayUtils_addAll.patch
>
>
> Please add methods with this signature: ArrayUtils.addAll(int[] target, int index, int[] source) (i.e. insert an array into an array at a certain position).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira