public static void main(String[] args) {
        //由于在编译时决定
        Collection<?>[] collections = new Collection<?>[] {
                new HashSet<String>(),
                new ArrayList<String>(),
                new HashMap<String, String>().values()
        };
        for (Collection<?> collection : collections) {
            System.out.println(classify(collection));
        }
    }