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