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