Example #1
0
 @Override
 public int hashCode() {
   int h = 0;
   for (Language l : path) {
     h = h * 31 + l.hashCode();
   }
   return h;
 }
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((actors == null) ? 0 : actors.hashCode());
   result = prime * result + ((category == null) ? 0 : category.hashCode());
   result = prime * result + ((description == null) ? 0 : description.hashCode());
   result = prime * result + ((languages == null) ? 0 : languages.hashCode());
   result = prime * result + ((rating == null) ? 0 : rating.hashCode());
   result = prime * result + release_year;
   result = prime * result + ((title == null) ? 0 : title.hashCode());
   return result;
 }