What is the Java equivalent of a Python Dictionary

Viewed 5321

I have a Dictionary in Python say

{ SERVER1 : [ (list1),(list2),....
  SERVER2 : [ (list2a),(list2b) ] }

Is it same can be implemented in Java ? I need to check each key if exist then I need to add the list to that key like appending the existing value without overriding Also need to read the key and value and traverse through each value of list

Kindly assist. Sorry to ask these question as it is my first program in Java

2 Answers
Related