I currently have this piece of code:
Map memory = new HashMap();
However it returns this
Two possible mistakes:
java.util.Map
You may have imported the wrong Map class. java.util.Map takes parameters.
Map