public static final class RegexTranslator.Range
extends java.lang.Object
implements java.lang.Comparable
Constructor and Description |
---|
RegexTranslator.Range(int min,
int max)
Create a range of unicode codepoints
|
public RegexTranslator.Range(int min, int max)
min
- the first codepoint in the rangemax
- the last codepoint in the rangepublic int getMin()
public int getMax()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- the other range