@ Override public int compareTo ( final Id id ) { return Integer . valueOf ( this . id ) . compareTo ( id . id ) ; }
Provides a natural ordering for the Id class such that Ids can be sorted into increasing numerical order .