public int hashCode() { int code = 17; code += object.hashCode(); code *= 37; code += category.hashCode(); code *= 37; return code; }