public int compareTo ( final ChronoIndexData info ) { long value ; if ( chronoSort ) { value = this . time - info . time ; } else { value = this . revisionCounter - info . revisionCounter ; } if ( value == 0 ) { return 0 ; } else if ( value > 0 ) { return 1 ; } else { return - 1 ; } }
Compares this ChronoInfo to the given info .