Home | History | Annotate | Download | only in collect

Lines Matching defs:partition

555       Lists.partition(source, 0);
563 List<List<Integer>> partitions = Lists.partition(source, 1);
570 List<List<Integer>> partitions = Lists.partition(source, 1);
577 List<List<Integer>> partitions = Lists.partition(source, 2);
584 List<List<Integer>> partitions = Lists.partition(source, 1);
592 List<List<Integer>> partitions = Lists.partition(source, 2);
600 List<List<Integer>> partitions = Lists.partition(source, 2);
610 List<List<Integer>> partitions = Lists.partition(list, 3);
612 // Changes before the partition is retrieved are reflected
617 // Changes before the partition is retrieved are reflected
622 // Changes after are too (unlike Iterables.partition)
634 assertEquals(1, Lists.partition(list, Integer.MAX_VALUE).size());
635 assertEquals(1, Lists.partition(list, Integer.MAX_VALUE - 1).size());