question: public boolean endsWith ( java . lang . String suffix ) { if ( suffix . length ( ) > length ( ) ) { return false ; } int offset = suffix . length ( ) - 1 ; for ( int iter = length ( ) - 1 ; offset >= 0 ; iter -- ) { if ( value [ this . offset + iter ] != suffix . value [ suffix . offset + offset ] ) { return false ; } offset -- ; } return true ; }
target:  Tests if this string ends with the specified suffix.