Forgive me if my terminology on "templating" is incorrect I come from a c++ background. I was having issues with the default constructor. The compiler says "identifier expected" and I'm not understanding. Anyone know the answer?
So you know, GameObject has a HashMap named 'object' that is already initialized.
import java.util.HashMap;
import java.io.Serializable;
public class GameList<T, V> extends GameObject
{
protected HashMap<T, V> list;
public GameList<T, V>()
{
list = object;
}
}