I want to get the value of HashMap based on key.
HashMap
HashMap> map = new HashMap
could you please try below code