使用List<? extends 某类>时需注意: 在使用List中的元素时,如果“某类”存在多个子类,而只import了部分类。IDE无法提示你将元素强转为某子类,这时需要检查是否import了你需要用的类。