I have a setting class that stores an Object
for the data. Is there some way I can make a method to return the data in the object type/class specified? e.g.
public objType getData(ObjType objType) {
objType out = (objType) data;
return out;
}
Aucun commentaire:
Enregistrer un commentaire