Ejemplo n.º 1
0
                public int CompareTo(object second)
                {
                    int result = LongHandler.Compare(((CommitTimestampSupport.TimestampEntry)first).commitTimestamp
                                                     , ((CommitTimestampSupport.TimestampEntry)second).commitTimestamp);

                    if (result != 0)
                    {
                        return(result);
                    }
                    return(IntHandler.Compare(((CommitTimestampSupport.TimestampEntry)first).objectId
                                              , ((CommitTimestampSupport.TimestampEntry)second).objectId));
                }
Ejemplo n.º 2
0
 public int CompareTo(object second)
 {
     return(IntHandler.Compare(((CommitTimestampSupport.TimestampEntry)first).objectId
                               , ((CommitTimestampSupport.TimestampEntry)second).objectId));
 }