question: public boolean equals ( String str ) { if ( str == null ) return false ; if ( _length != str . length ( ) ) return false ; for ( int i = _length , j = _offset + _length ; -- i >= 0 ; ) { if ( _array [ -- j ] != str . charAt ( i ) ) return false ; } return true ; }
target:  Compares this character array against the specified String. In case of equality, the CharArray keeps a reference to the  String for future comparisons.