public boolean contentEquals(CharSequence chars){
  if (chars == null)   return false;
  if (this._length != chars.length())   return false;
  for (int i=_length, j=_offset + _length; --i >= 0; ) {
    if (_array[--j] != chars.charAt(i))     return false;
  }
  return true;
}

public boolean contentEquals ( CharSequence chars ) { if ( chars == null ) return false ; if ( this . _length != chars . length ( ) ) return false ; for ( int i = _length , j = _offset + _length ; -- i >= 0 ; ) { if ( _array [ -- j ] != chars . charAt ( i ) ) return false ; } return true ; }
compares this character array against the specified character sequence .
