class CollectionUtilities {

    public static <T> Collection<T> filterDowncast(Collection<?> input, Class<T> type)
    {
        Collection<T> output = New.collection(input.size());
        filterDowncast(input, type, output);
        return output;
    }

    private  CollectionUtilities();

}