|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.stevesoft.pat.Pattern
|
+--com.stevesoft.pat.NoPattern
The idea behind this class is simply to eliminate the need for testing to see if Regex.thePattern is null. Every instruction we can eliminate from _search will help.
| Fields inherited from class com.stevesoft.pat.Pattern |
ESC |
| Constructor Summary | |
NoPattern()
|
|
| Method Summary | |
int |
matchInternal(int i,
Pthings p)
The interal match function, it must be provided by any class which wishes to extend Pattern. |
java.lang.String |
toString()
|
| Methods inherited from class com.stevesoft.pat.Pattern |
add,
countMaxChars,
countMinChars,
equals,
getNext,
match,
matchAt,
maxChars,
minChars,
nextMatch,
nextString,
setParent |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public NoPattern()
| Method Detail |
public java.lang.String toString()
public int matchInternal(int i,
Pthings p)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||