com.stevesoft.pat
Class FastBracket

java.lang.Object
  |
  +--com.stevesoft.pat.Pattern
        |
        +--com.stevesoft.pat.Or
              |
              +--com.stevesoft.pat.Bracket
                    |
                    +--com.stevesoft.pat.FastBracket

public class FastBracket
extends com.stevesoft.pat.Bracket

Uses table lookup to match [] type constructs, but only if it can use a lookup table 256 bits in size. It is impractical to make a table if it is too large.


Fields inherited from class com.stevesoft.pat.Pattern
ESC

 
Method Summary
 int matchInternal(int pos, Pthings pt)
          The interal match function, it must be provided by any class which wishes to extend Pattern.
 
Methods inherited from class com.stevesoft.pat.Bracket
addOr, clone1, maxChars, minChars
 
Methods inherited from class com.stevesoft.pat.Or
toString
 
Methods inherited from class com.stevesoft.pat.Pattern
add, countMaxChars, countMinChars, equals, getNext, match, matchAt, nextMatch, nextString, setParent

 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

matchInternal

public int matchInternal(int pos,
                         Pthings pt)
Description copied from class: Pattern
The interal match function, it must be provided by any class which wishes to extend Pattern.
Overrides:
matchInternal in class com.stevesoft.pat.Bracket