✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
A photo manager software allows you to keep your photos ordered and easily accessible. Each photo has a name, date and a score (1-5). Photos can be organized in folders and folders can be organized in albums, each album having a name and tags.
Also given the collection of albums implement the methods that return:
-Map<Integer, Set<Photo>> - set of photos for each score (1,2,3,4,5).
-Map<String, List<Photo>> - list of photos sorted by their score for each album name.
You can use classes from the Collection framework in Java. The grade takes into consideration the proper use of generics, immutable classes, and the proper choice of the collection classes.
Implement all classes and upload only the Java files as a zip archive. Make sure to correctly implement (if required) Comparable interface, hashCode and equals methods.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!