public static <T> Collector<T, Collection<T>, Collection<T>> toImmutableCollection() {
        return toImmutableCollection(ArrayList::new);
    }
public static < T > Collector < T , Collection < T > , Collection < T > > toImmutableCollection ( ) { return toImmutableCollection ( ArrayList :: new ) ; }
@param <T> The type
@return An immutable collection