public abstract boolean contentEquals (CharSequence cs)

Compares this name to the specified CharSequence. The result is true if and only if this name represents the same sequence of char values as the specified sequence.

Parameters:
cs    The sequence to compare this name against

Returns:  true if this name represents the same sequence of char values as the specified sequence, false otherwise

See also:
String.contentEquals(CharSequence)