Пример #1
0
 public void addPraisedPhoto(Photo photo) {
   praisedPhotos.add(photo);
 }
Пример #2
0
 public void clearPraisedPhotos() {
   praisedPhotos.clear();
 }
Пример #3
0
 public boolean hasPraisedPhoto(Photo photo) {
   return praisedPhotos.contains(photo);
 }