Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for partition (0.17 sec)

  1. android/guava/src/com/google/common/collect/Lists.java

       */
      public static <T extends @Nullable Object> List<List<T>> partition(List<T> list, int size) {
        checkNotNull(list);
        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>> {
        final List<T> list;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
Back to top