diff --git a/src/main/java/org/apache/commons/collections/ListUtils.java b/src/main/java/org/apache/commons/collections/ListUtils.java index 88ddee879..5735bcd2d 100644 --- a/src/main/java/org/apache/commons/collections/ListUtils.java +++ b/src/main/java/org/apache/commons/collections/ListUtils.java @@ -507,9 +507,6 @@ public class ListUtils { return -1; } - // partition - //------------------------------------------------------------------------- - /** * Returns consecutive {@link List#subList(int, int) sublists} of a * list, each of the same size (the final list may be smaller). For example, @@ -582,99 +579,4 @@ public class ListUtils { return list.isEmpty(); } } - - // range - //------------------------------------------------------------------------- - - /** - * Returns an unmodifiable List of integers in the range [0, size - 1]. - *
- * The returned list does not store the actual numbers, but checks
- * if a given number would be contained in the defined range. A call
- * to {@link #contains(Object)} is very fast - O(1).
- *
- * @see #range(int,int)
- *
- * @param size the size of the returned list
- * @return an unmodifiable list of integers in the range [0, size - 1]
- * @throws IllegalArgumentException if from > to
- * @since 4.0
- */
- public static List
- * The returned list does not store the actual numbers, but checks
- * if a given number would be contained in the defined range. A call
- * to {@link #contains(Object)} is very fast - O(1).
- *
- * The bounds of the range are allowed to be negative.
- *
- * @param from the start of the range
- * @param to the end of the range (inclusive)
- * @return an unmodifiable list of integers in the specified range
- * @throws IllegalArgumentException if from > to
- * @since 4.0
- */
- public static List