org.apache.regexp
class RECompiler.RERange extends Object
| Field Summary | |
|---|---|
| int[] | maxRange |
| int[] | minRange |
| int | num |
| int | size |
| Method Summary | |
|---|---|
| void | delete(int index)
Deletes the range at a given index from the range lists |
| void | include(int min, int max, boolean include)
Includes (or excludes) the range from min to max, inclusive. |
| void | include(char minmax, boolean include)
Includes a range with the same min and max |
| void | merge(int min, int max)
Merges a range into the range list, coalescing ranges if possible. |
| void | remove(int min, int max)
Removes a range by deleting or shrinking all other ranges |
Parameters: index Index of range to delete from minRange and maxRange arrays.
Parameters: min Minimum end of range max Maximum end of range include True if range should be included. False otherwise.
Parameters: minmax Minimum and maximum end of range (inclusive) include True if range should be included. False otherwise.
Parameters: min Minimum end of range max Maximum end of range
Parameters: min Minimum end of range max Maximum end of range