Guidewire interview question

How does map work in java?