public bool equals(KennelLog log2) { if (logDate == log2.logDate && seqNum == log2.seqNum) { return(true); } else { return(false); } }
public int compareTo(KennelLog log2) { if (logDate > log2.logDate) { return(1); } else if (logDate > log2.logDate) { return(-1); } else { return(0); } }