Compare two Strings lexicographically, like String#compareTo(String). The return values are: int = 0, if str1 is equal to str2 (or both null) int < 0, if str1 is less than str2 int > 0, if {@c
(String str1, String str2)
| 499 | * @return < 0, 0, > 0, if {@code str1} is respectively less, equal or greater than {@code str2} |
| 500 | */ |
| 501 | public abstract int compare(String str1, String str2); |
| 502 | |
| 503 | /** |
| 504 | * Tests if CharSequence contains a search CharSequence, handling {@code null}. This method uses {@link String#indexOf(String)} if possible. |
no outgoing calls
no test coverage detected