Package jflex.core.unicode
Class CharClassInterval
- java.lang.Object
-
- jflex.core.unicode.CharClassInterval
-
public class CharClassInterval extends java.lang.ObjectStores an interval of characters together with the character classA character belongs to an interval, if its Unicode value is greater than or equal to the Unicode value of
startand smaller than or equal to the Unicode value ofend.All characters of the interval must belong to the same character class.
- Version:
- JFlex 1.9.1
-
-
Constructor Summary
Constructors Constructor Description CharClassInterval(int start, int end, int charClass)Creates a new CharClassInterval fromstart</code> to <CODE>endthat belongs to character classcharClass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(int codePoint)Determines wether the specified code point is in this interval.java.lang.StringtoString()
-
-
-
Constructor Detail
-
CharClassInterval
public CharClassInterval(int start, int end, int charClass)Creates a new CharClassInterval fromstart</code> to <CODE>endthat belongs to character classcharClass.- Parameters:
start- The first character of the intervalend- The last character of the intervalcharClass- The code of the class all characters of this interval belong to.
-
-