compare_by_display_name


Description:

public int compare_by_display_name (Source source2)

Compares two Source instances by their display names.

Useful for ordering sources in a user interface.

Parameters:

this

the first Source

source2

the second Source

Returns:

a negative value if this compares before source2, zero if they compare equal, or a positive value if this compares after source2