net.sf.saxon.regex
public static final class RegexTranslator.Range extends Object implements Comparable
Constructor Summary | |
---|---|
Range(int min, int max)
Create a range of unicode codepoints |
Method Summary | |
---|---|
int | compareTo(Object o)
Compare this range with another range for ordering purposes. |
int | getMax()
Get the end of the range |
int | getMin()
Get the start of the range |
Parameters: min the first codepoint in the range max the last codepoint in the range
Parameters: o the other range
Returns: -1 if this range comes first, +1 if the other range comes first, 0 if they are equal (start and end both equal)
Returns: the last codepoint in the range
Returns: the first codepoint in the range