@ Override public int compareTo ( Identifier that ) { if ( mValue . length != that . mValue . length ) { return mValue . length < that . mValue . length ? - 1 : 1 ; } for ( int i = 0 ; i < mValue . length ; i ++ ) { if ( mValue [ i ] != that . mValue [ i ] ) { return mValue [ i ] < that . mValue [ i ] ? - 1 : 1 ; } } return 0 ; }
Compares two identifiers . When the Identifiers don t have the same length the Identifier having the shortest array is considered smaller than the other .