commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons-sandbox/util/src/java/org/apache/commons/util CollectionsUtils.java
Date Thu, 13 Dec 2001 21:54:23 GMT
bayard      01/12/13 13:54:23

  Modified:    util/src/java/org/apache/commons/util CollectionsUtils.java
  Log:
  Added comment to the point that the start argument is include, and the
  end argument is exclusive. Need to decide if the method is really
  useful at all to more than just myself.
  
  Revision  Changes    Path
  1.5       +3 -1      jakarta-commons-sandbox/util/src/java/org/apache/commons/util/CollectionsUtils.java
  
  Index: CollectionsUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/util/src/java/org/apache/commons/util/CollectionsUtils.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CollectionsUtils.java	2001/12/13 21:50:24	1.4
  +++ CollectionsUtils.java	2001/12/13 21:54:23	1.5
  @@ -66,7 +66,7 @@
    * beyond the duty of java.util's Collection API.
    *
    * @author bayard@generationjava.com
  - * @version $Id: CollectionsUtils.java,v 1.4 2001/12/13 21:50:24 bayard Exp $
  + * @version $Id: CollectionsUtils.java,v 1.5 2001/12/13 21:54:23 bayard Exp $
    */
   final public class CollectionsUtils {
   
  @@ -165,7 +165,9 @@
        *
        * @param coll  Collection to slice from.
        * @param start int index of iteration to start slicing at.
  +     *                  This is inclusive.
        * @param end   int index of iteration to stop slicing at.
  +     *                  This is exclusive.
        */
       static public Collection slice(Collection coll, int start, int end) {
           if(coll == null) {
  
  
  

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


Mime
View raw message