Constructs a CharRange over a set of characters. If start and end are in the wrong order, they are reversed. Thus a-e is the same as e-a. @param start first character, inclusive, in this range. @param end last character, inclusive, in this range. @return the new Ch
(final char start, final char end)
| 169 | * @since 2.5 |
| 170 | */ |
| 171 | public static CharRange isIn(final char start, final char end) { |
| 172 | return new CharRange(start, end, false); |
| 173 | } |
| 174 | |
| 175 | /** |
| 176 | * Constructs a negated {@link CharRange} over a single character. |
no outgoing calls