Returns a char matcher that matches any character in a given range (both endpoints are inclusive). For example, to match any lowercase letter of the English alphabet, use CharMatcher.inRange('a', 'z'). @throws IllegalArgumentException if endInclusive < startInclusive
(final char startInclusive, final char endInclusive)
| 421 | * @throws IllegalArgumentException if {@code endInclusive < startInclusive} |
| 422 | */ |
| 423 | public static CharMatcher inRange(final char startInclusive, final char endInclusive) { |
| 424 | return new InRange(startInclusive, endInclusive); |
| 425 | } |
| 426 | |
| 427 | /** |
| 428 | * Returns a matcher with identical behavior to the given {@link Character}-based predicate, but |