DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15438>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15438

ArrayUtils.contains()





------- Additional Comments From [EMAIL PROTECTED]  2003-01-19 17:58 -------
I agree with the intent behind this proposed addition to ArrayUtils. However, I 
would prefer a broader solution:

int ArrayUtils.indexOf(Object[] array, Object objectToFind)
int ArrayUtils.indexOf(Object[] array, Object objectToFind, int startIndex)
int ArrayUtils.lastIndexOf(Object[] array, Object objectToFind)
int ArrayUtils.lastIndexOf(Object[] array, Object objectToFind, int startIndex)
int ArrayUtils.contains(Object[] array, Object objectToFind)

ie. the contains method would be built upon a full set of index methods.

Are you interested in providing a patch? I would apply one as described above 
with test cases ;-)
Stephen

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to