我有以下数组:
public static Class[] GLOBAL_FEATURE_EXTRACTORS = {
CEDD.class,
AutoColorCorrelogram.class
}
现在我有以下警告:
Class is a raw type. References to generic type Class<T> should be parameterized
CEDD
和AutoColorCorrelogram
类都实现了GlobalFeature
接口
如何正确参数化Class[]
以避免此警告?