posted 14 years ago
to retrive there are many ways
Set keySet() ---->to get all keys
Collection values() ---->to get all values
Set entrySet() ---->to get objects one by one
to get objects from entrySet we should use "Iterator" cursor(it is a interface to retriev objects one by one from Collection object)
each key value pair treated as one entry. Entry is the inner interface of Map, the structure is below
digg more things from other resources and see some examples
see below example then i hope it gives clear explaination