public boolean equals(Object obj){
  if (obj instanceof MAssignmentSlot) {
    MAssignmentSlot cmp=(MAssignmentSlot)obj;
    if (m_startTime.equals(cmp.getStartTime()) && m_endTime.equals(cmp.getEndTime()) && m_status == cmp.getStatus() && m_name.equals(cmp.getName()) && m_description.equals(cmp.getDescription()))     return true;
  }
  return false;
}

public boolean equals ( Object obj ) { if ( obj instanceof MAssignmentSlot ) { MAssignmentSlot cmp = ( MAssignmentSlot ) obj ; if ( m_startTime . equals ( cmp . getStartTime ( ) ) && m_endTime . equals ( cmp . getEndTime ( ) ) && m_status == cmp . getStatus ( ) && m_name . equals ( cmp . getName ( ) ) && m_description . equals ( cmp . getDescription ( ) ) ) return true ; } return false ; }
indicates whether some other object is & quot ; equal to & quot ; this comparator .
