HashMap savedStuff = new HashMap();
savedStuff.put("symbol", this.symbol); //this is a string
savedStuff.put("index", this.index); //this is an int
дает предупреждение:
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized