Returns true if a character sequence contains at least one matching character. Equivalent to !matchesNoneOf(sequence). The default implementation iterates over the sequence, invoking #matches for each character, until this returns true or the end is reached. @par
(CharSequence sequence)
| 645 | |
| 646 | |
| 647 | public boolean matchesAnyOf(CharSequence sequence) { |
| 648 | return !matchesNoneOf(sequence); |
| 649 | } |
| 650 | |
| 651 | /** |
| 652 | * Returns {@code true} if a character sequence contains only matching characters. |
nothing calls this directly
no test coverage detected