it returns a set.
so does it contain both the 'key' and 'value' in case of hashmap??
If you take a look at the API documentation for the Map.entrySet() method it should be pretty obvious what exactly is returned.
author & internet detective
Yes. The JavaDoc for Java 5+ shows this a bit more clearly. It says the return type is:
This is a Set of Entry objects. The Entry class is defined within Map and has the key/value pairs.
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
This thread has been viewed 1717 times.
All times above are in ranch (not your local) time.
The current ranch time is
Jan 17, 2019 10:11:28.