JFlex
Class CharClassIntervall
java.lang.Object
JFlex.CharClassIntervall
- public class CharClassIntervall
- extends java.lang.Object
Stores an intervall of characters together with the character class
A character belongs to an intervall, if its Unicode value is greater than or equal
to the Unicode value of start
and smaller than or euqal to the Unicode
value of end
.
All characters of the intervall must belong to the same character class.
Constructor Summary |
CharClassIntervall(int start,
int end,
int charClass)
Creates a new CharClassIntervall from start to end
that belongs to character class charClass . |
Method Summary |
java.lang.String |
toString()
returns string representation of this class-intervall |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CharClassIntervall
public CharClassIntervall(int start,
int end,
int charClass)
- Creates a new CharClassIntervall from
start
to end
that belongs to character class charClass
.
- Parameters:
start
- The first character of the intervallend
- The last character of the intervallcharClass
- The code of the class all characters of this intervall belong to.
toString
public java.lang.String toString()
- returns string representation of this class-intervall