Home | History | Annotate | Download | only in collect

Lines Matching defs:partition

800       Lists.partition(source, 0);
808 List<List<Integer>> partitions = Lists.partition(source, 1);
815 List<List<Integer>> partitions = Lists.partition(source, 1);
822 List<List<Integer>> partitions = Lists.partition(source, 2);
829 List<List<Integer>> partitions = Lists.partition(source, 1);
837 List<List<Integer>> partitions = Lists.partition(source, 2);
846 List<List<Integer>> partitions = Lists.partition(source, 2);
848 assertTrue("partition should be RandomAccess, but not: "
852 assertTrue("partition[0] should be RandomAccess, but not: "
856 assertTrue("partition[1] should be RandomAccess, but not: "
863 List<List<Integer>> partitions = Lists.partition(source, 2);
873 List<List<Integer>> partitions = Lists.partition(list, 3);
875 // Changes before the partition is retrieved are reflected
880 // Changes before the partition is retrieved are reflected
885 // Changes after are too (unlike Iterables.partition)
897 assertEquals(1, Lists.partition(list, Integer.MAX_VALUE).size());
898 assertEquals(1, Lists.partition(list, Integer.MAX_VALUE - 1).size());
903 assertEquals(2, Lists.partition