Package org.apache.commons.collections4
Class ListUtils.Partition<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<java.util.List<T>>
-
- org.apache.commons.collections4.ListUtils.Partition<T>
-
- All Implemented Interfaces:
java.lang.Iterable<java.util.List<T>>
,java.util.Collection<java.util.List<T>>
,java.util.List<java.util.List<T>>
- Enclosing class:
- ListUtils
private static class ListUtils.Partition<T> extends java.util.AbstractList<java.util.List<T>>
Provides a partition view on aList
.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>
get(int index)
boolean
isEmpty()
int
size()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
-
-