/guava/android/guava/src/com/google/common/collect/Lists.java
this.fromList = checkNotNull( fromList) ;checkNotNull( list) ;
checkNotNull ( list ) ;
public int size() { return fromList.size(); } private static final long serialVersionUID = 0; } public static <T extends @Nullable Object> List<List<T>> partition(List<T> list, int size) { <extra_id_0> checkArgument(size > 0); return (list instanceof RandomAccess) ? new RandomAccessPartition<>(list, size) : new Partition<>(list, size); } private static class Partition<T extends @Nullable Object> extends AbstractList<List<T>> {