public boolean contentEquals (CharSequence cs)

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

Parameters:
cs     The sequence to compare this String against

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

Since:  1.5