Hello,
this my code:
class A {
public Map<String,Integer> names = new LinkedHashMap<String, Integer>();
public Map<Var, Integer> paramList = new LinkedHashMap<Var, Integer>();
}
//main
Map<A, Set<B>> map t = new LinkedHashMap<A, Set<B>>();
I did the override for A for all two maps but for my aims, two objects A are the same even when they have the same key String of names (doens't matter Integer).
How can I change the override, please? Is it an override problem I suppose.
thanks