Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Add another value
- map.put("Country", "India")
- println("Map => " + map.toMapString())
- //Check whether a map contains key or value
- println("Map Contains Key Country => " + map.containsKey("Country"))
- println("Map Contains Country Value India => " + map.containsValue("India"))
- //Map's size
- println("Map's Size => " + map.size())
Add Comment
Please, Sign In to add comment