Use the generic parameters of the vector.
aClass obj = aClass();
Vector<aClass> x = new Vector<aClass>(); // x can only hold aClass objects
x.add(obj);
x.get(0).someFunction();
//where...
Type: Posts; User: helloworld922
Use the generic parameters of the vector.
aClass obj = aClass();
Vector<aClass> x = new Vector<aClass>(); // x can only hold aClass objects
x.add(obj);
x.get(0).someFunction();
//where...