Compares the specified string to this string to determine if the specified string is a suffix. @param suffix the suffix to look for. @return true if the specified string is a suffix of this string, false otherwise. @throws NullPointerException if {@cod
(String suffix)
| 744 | * if {@code suffix} is {@code null}. |
| 745 | */ |
| 746 | public boolean endsWith(String suffix) { |
| 747 | return regionMatches(count - suffix.count, suffix, 0, suffix.count); |
| 748 | } |
| 749 | |
| 750 | /** |
| 751 | * Compares the specified object to this string and returns true if they are |
no test coverage detected