Hi,
I have an objects Var {String type, String identifier } and I need to associato it to an Integer; so I used a Map for this.
Then, I must keep many of those Map and so I used this:
Code:
public List< Map<Var,Integer> > mapping = new ArrayList< Map<Var,Integer> >();
1. how declare LinkedHashMap instead just a Map in the right side? The compiler gets an error with that;
2. is it a right thing? It seems to me a very complicated way a 'list of maps'; any alternatives?
thanks.