|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJFlex.CharClassInterval
public class CharClassInterval
Stores an interval of characters together with the character class
A character belongs to an interval, 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 interval must belong to the same character class.
| Field Summary | |
|---|---|
(package private) int |
charClass
The code of the class all characters of this interval belong to. |
(package private) int |
end
The last character of the interval |
(package private) int |
start
The first character of the interval |
| Constructor Summary | |
|---|---|
CharClassInterval(int start,
int end,
int charClass)
Creates a new CharClassInterval from start to end
that belongs to character class charClass. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
returns string representation of this class interval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int start
int end
int charClass
| Constructor Detail |
|---|
public CharClassInterval(int start,
int end,
int charClass)
start to end
that belongs to character class charClass.
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.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||