psteitz 2003/09/28 20:38:44 Modified: collections/src/java/org/apache/commons/collections IteratorUtils.java Log: javadoc Revision Changes Path 1.12 +8 -5 jakarta-commons/collections/src/java/org/apache/commons/collections/IteratorUtils.java Index: IteratorUtils.java =================================================================== RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/IteratorUtils.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- IteratorUtils.java 31 Aug 2003 17:26:43 -0000 1.11 +++ IteratorUtils.java 29 Sep 2003 03:38:44 -0000 1.12 @@ -98,6 +98,7 @@ * @version $Revision$ $Date$ * * @author Stephen Colebourne + * @author Phil Steitz */ public class IteratorUtils { // validation is done in this class in certain cases because the @@ -206,7 +207,8 @@ * @param array the array over which to iterate * @param start the index to start iterating at * @return an iterator over part of the array - * @throws IndexOutOfBoundsException if start is less than zero + * @throws IndexOutOfBoundsException if start is less than zero or greater + * than the length of the array * @throws NullPointerException if array is null */ public static ResetableIterator arrayIterator(Object[] array, int start) { @@ -223,7 +225,8 @@ * @param start the index to start iterating at * @return an iterator over part of the array * @throws IllegalArgumentException if the array is not an array - * @throws IndexOutOfBoundsException if start is less than zero + * @throws IndexOutOfBoundsException if start is less than zero or greater + * than the length of the array * @throws NullPointerException if array is null */ public static ResetableIterator arrayIterator(Object array, int start) { @@ -579,7 +582,7 @@ * that will remove elements from the specified collection. * * @param enumeration the enumeration to use - * @param collection the collection to remove elements form + * @param removeCollection the collection to remove elements form */ public static Iterator asIterator(Enumeration enumeration, Collection removeCollection) { if (enumeration == null) {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]