public final int
    compareTo(String string)
    {
	return getID().length() >= string.length()
		? getID().compareToIgnoreCase(string)
		: getID().compareToIgnoreCase(
		    string.substring(0, getID().length()));
    }
public final int
    compareTo(String string)
    {
	return getID().length() >= string.length()
		? getID().compareToIgnoreCase(string)
		: getID().compareToIgnoreCase(
		    string.substring(0, getID().length()));
    }
public final int compareTo ( String string ) { return getID ( ) . length ( ) >= string . length ( ) ? getID ( ) . compareToIgnoreCase ( string ) : getID ( ) . compareToIgnoreCase ( string . substring ( 0 , getID ( ) . length ( ) ) ) ; }
Compares this PrefixName with a string.
@param string		The string to compare this PrefixName against.
@return			A negative value, zero, or a positive value
depending on whether this PrefixName is less
than, equal to, or greater than <code>
string</code>, respectively.
Compares this PrefixName with a string .