- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testPartition_singleton2 (0.08 seconds)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<Integer> source = emptySet(); Iterable<List<Integer>> partitions = Iterables.partition(source, 1); assertTrue(Iterables.isEmpty(partitions)); } public void testPartition_singleton1() { Iterable<Integer> source = singleton(1); Iterable<List<Integer>> partitions = Iterables.partition(source, 1); assertEquals(1, Iterables.size(partitions));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0)