About Question com.enthuware.ets.scjp.v6.2.83 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
TwistedLizard
Posts: 57
Joined: Sat Mar 01, 2014 1:48 pm
Contact:

About Question com.enthuware.ets.scjp.v6.2.83 :

Post by TwistedLizard »

From the explanation:
Only Map has values() method. This method returns a Set of values stored in the Map.
Is this an error?

A Set contains no duplicate elements. Although the keys of a Map cannot contain duplicates, the values can. Hence, Map.values() can't return a Set, it returns a Collection.

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question com.enthuware.ets.scjp.v6.2.83 :

Post by admin »

You are right. Fixed.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests