java - References to generic type SparseArray<E> should be parameterized -


i tried googling warning , seem find others seems bit off.

type safety: method put(int, object) belongs raw type sparsearray. references generic type sparsearray should parameterized

can explain me warning?

sparsearray works java generics. ideally, should declaring sparsearray<whateveryourvalueclassis> , storing instances of whateveryourvalueclassis via put().


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -