two videos will generate the same hashcode if they have exactly the same values for their name , url , and duration . concode_field_sep long duration concode_elem_sep String name concode_elem_sep long id concode_elem_sep String url concode_field_sep void setName concode_elem_sep void setDuration concode_elem_sep String getUrl concode_elem_sep String getName concode_elem_sep long getDuration concode_elem_sep boolean equals concode_elem_sep void setId concode_elem_sep long getId concode_elem_sep void setUrl
int function ( ) { return Objects . hashCode ( name , url , duration ) ; }