This is a perfect opportunity for you to read the Java API for Maps and Strings ;-)

The Java API: Java Platform SE 6