Add missing since tags.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1451903 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-03-02 16:31:17 +00:00
parent 13808248c4
commit f2e3a929ea
1 changed files with 2 additions and 0 deletions

View File

@ -526,6 +526,7 @@ public class ListUtils {
* @param size the desired size of each sublist (the last may be smaller)
* @return a list of consecutive sublists
* @throws IllegalArgumentException if list is {@code null} or size is not strictly positive
* @since 4.0
*/
public static <T> List<List<T>> partition(final List<T> list, final int size) {
if (list == null) {
@ -539,6 +540,7 @@ public class ListUtils {
/**
* Provides a partition view on a {@link List}.
* @since 4.0
*/
private static class Partition<T> extends AbstractList<List<T>> {
private final List<T> list;