@@ -0,0 +1,1287 @@
+import org.eclipse.collections.api.list.ImmutableList;%0Aimport org.eclipse.collections.impl.factory.Lists;%0A%0Apublic class BasicSample %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        ImmutableList%3CInteger%3E list = Lists.immutable.of(1, 2, 3, 2, 3, 3);%0A%0A        // filter%0A        System.out.println(list.select(i -%3E i %25 2 != 0));%0A%0A        // map%0A        System.out.println(list.collect(Integer::toBinaryString));%0A%0A        // flatMap%0A        System.out.println(list.flatCollect(i -%3E Lists.immutable.of(i, i)));%0A%0A        // distinct%0A        System.out.println(list.distinct());%0A%0A        // limit%0A        System.out.println(list.take(4));%0A%0A        // skip%0A        System.out.println(list.drop(2));%0A%0A        // reduce%0A        System.out.println(list.injectInto(0, Integer::sum));%0A%0A        // min (%E3%81%9F%E3%81%A0%E3%81%97%E6%88%BB%E3%82%8A%E5%80%A4%E3%81%AF Optional%3CT%3E %E3%81%A7%E3%81%AF%E3%81%AA%E3%81%8F T )%0A        System.out.println(list.min());%0A%0A        // max (%E3%81%9F%E3%81%A0%E3%81%97%E6%88%BB%E3%82%8A%E5%80%A4%E3%81%AF Optional%3CT%3E %E3%81%A7%E3%81%AF%E3%81%AA%E3%81%8F T )%0A        System.out.println(list.max());%0A%0A        // count%0A        System.out.println(list.count(unused -%3E true));%0A%0A        // findFirst (%E3%81%9F%E3%81%A0%E3%81%97%E6%88%BB%E3%82%8A%E5%80%A4%E3%81%AF Optional%3CT%3E %E3%81%A7%E3%81%AF%E3%81%AA%E3%81%8F T )%0A        System.out.println(list.getFirst());%0A%0A        // allMatch%0A        System.out.println(list.allSatisfy(i -%3E i %3C 4));%0A%0A        // anyMatch%0A        System.out.println(list.anySatisfy(i -%3E i %3C 3));%0A    %7D%0A%7D%0A

Stream APIで言うところのアレはどれ？的な