commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-660) Add methods to insert arrays into arrays at an index
Date Sun, 17 Jul 2011 06:33:00 GMT

    [ 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

        

Mime
View raw message