I tried to create a list of maps. In the following code, I\'m expecting to get
[{start=1,text=ye}, {start=2,text=no}]
however, I only got
Yes, hash map from this piece of code
list.add(new HashMap());
is never referenced. So eventually you get a list of 3 items, 2 of which are identical however.