gudii9
asked on
Map Collection Views
I would like to know about Map Collection Views . what are different types of it. when, how, where, why we use them. i am not clear on this concept. thanks in advance
ASKER
>>The Map interface provides three collection views
what is collection view. please elaborate on this. does any other collection objects like set, list etc has collection views?
what is collection view. please elaborate on this. does any other collection objects like set, list etc has collection views?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This is from doc API:
http://download.oracle.com/javase/1.4.2/docs/api/java/util/Map.html
The Map interface provides three collection views, which allow a map's contents to be viewed as a set of keys, collection of values, or set of key-value mappings. The order of a map is defined as the order in which the iterators on the map's collection views return their elements. Some map implementations, like the TreeMap class, make specific guarantees as to their order; others, like the HashMap class, do not.