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