@@ -0,0 +1,1279 @@
+package pollseed.util.list;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Collections;%0Aimport java.util.List;%0Aimport java.util.Optional;%0A%0A/**%0A * List class Extension (for updating java7 to java8).%0A * %0A * @version java8%0A */%0Apublic class ListEx %7B%0A%0A    /**%0A     * To count the list removed by %7B@code excludes%7D list%0A     * %0A     * @param list%0A     *            %7B@code List%3CT%3E%7D target list%0A     * @param excludes%0A     *            %7B@code List%3CT%3E%7D Removing excludes list%0A     * @param isNotNull%0A     *            %7B@code true%7D if NOT NULL (target list)%0A     * @return size of target list%0A     * @since v0.1%0A     */%0A    public static %3CT%3E int countList(%0A            final List%3CT%3E list,%0A            final List%3CT%3E excludes,%0A            final boolean isNotNull) %7B%0A        return Optional.ofNullable(%0A                Optional.ofNullable(list).isPresent() ? new ArrayList%3C%3E(list) : new ArrayList%3C%3E()).map(%0A                e -%3E %7B%0A                    Optional.ofNullable(excludes).ifPresent(%0A                            optionalExcludes -%3E optionalExcludes.forEach(exclude -%3E e.removeAll(Collections.singleton(exclude))));%0A                    if (isNotNull)%0A                        e.removeAll(Collections.singleton(null));%0A                    return e;%0A                %7D).get().size();%0A    %7D%0A%7D%0A

Create ListEx.java