Signal interview question

Program a Hashmap. Code has to be in JAVA and compile.