Access the key-value of Collection in loop

Access the key-value of Collection in loop

I need to access key-value pair in a loop  --
  1. col_customer = Collection();
  2. col_customer.insert("Jhon Doe":3);
  3. col_customer.insert("Joe Black":1);
  4. col_customer.insert("Jack":1);