Java Arraylist And Hashmap In Typescript Vs Python