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