Initialization Index Page 1

How to directly initialize a HashMap (in a literal way)?

How to initialize a Java HashMap with curly brackets notation. Learn here some alternatives.