commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] Created: (LANG-309) Add ArrayUtils.addFirst methods.
Date Wed, 03 Jan 2007 23:45:27 GMT
Add ArrayUtils.addFirst methods.
--------------------------------

                 Key: LANG-309
                 URL: https://issues.apache.org/jira/browse/LANG-309
             Project: Commons Lang
          Issue Type: Improvement
    Affects Versions: 2.2
            Reporter: Gary Gregory
            Priority: Minor


Add ArrayUtils.addFirst methods?

This is pretty trivial, implementation wise. I'd like some feedback before implementation.
For example, is

ArrayUtils.addFirst (array, newFirstElement);

really better than:

ArrayUtils.add(array, 0, newFirstElement);

?



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message