Java hashmap jednej linii

Collections.singletonMap("username1", "password1")
Talented Tarantula