What is map.entry ..?A map entry (key-value pair). The Map.entrySet method returns a collection-view of the map, whose elements are of this class. The only way to obtain a reference to a map entry is from the iterator of this collection-view. These Map.Entry objects are valid only for the duration of the iteration; more formally, the behavior of a map entry is undefined if the backing map has been modified after the entry was returned by the iterator, except through the setValue operation on the map entry. - Study24x7
Social learning Network
86 followers study24x7 22 Jan 2020 12:18 PM study24x7 study24x7

What is map.entry ..?

A map entry (key-value pair). The Map.entrySet method returns a collection-view of the map, whose elements are of this class. The only way to obtain a reference to a map entry is from the iterator of this collection-view. These Map.Entry objects are v...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles