Constructs a negated CharRange over a single character. A negated range includes everything except that defined by the single character. @param ch only character in this range. @return the new CharRange object. @since 2.5
(final char ch)
| 183 | * @since 2.5 |
| 184 | */ |
| 185 | public static CharRange isNot(final char ch) { |
| 186 | return new CharRange(ch, ch, true); |
| 187 | } |
| 188 | |
| 189 | /** |
| 190 | * Constructs a negated {@link CharRange} over a set of characters. |
no outgoing calls