compare


Description:

public int compare (Language language_b)

Compares alphabetically two languages by their name, as returned by get_name.

Parameters:

this

a Language.

language_b

another Language.

Returns:

an integer less than, equal to, or greater than zero, if this is <, == or > than language_b.