@Override public boolean equals(Object arg0) { if (arg0 == null) return false; if (!(arg0 instanceof Attendance)) return false; Attendance arg1 = (Attendance) arg0; return this.hashCode() == arg1.hashCode(); }