Check out example codes for "print hashtable in java". It will help you in understanding the concepts better.

Code Example 1

table.forEach( 
            (k, v) -> System.out.println("Key : " + k + ", Value : " + v));

Learn ReactJs, React Native from akashmittal.com