Save This Page
Home » openjdk-7 » java » util » regex » [javadoc | source]
java.util.regex
class: JointSet [javadoc | source]
java.lang.Object
   java.util.regex.AbstractSet
      java.util.regex.JointSet
Represents group, which is alternation of other subexpression. One should think about "group" in this model as JointSet opening group and corresponding FSet closing group.
Field Summary
protected  ArrayList children     
protected  AbstractSet fSet     
protected  int groupIndex     
Fields inherited from java.util.regex.AbstractSet:
TYPE_LEAF,  TYPE_FSET,  TYPE_QUANT,  TYPE_DOTSET,  next,  counter,  isSecondPassVisited,  index
Constructor:
 protected JointSet() 
 public JointSet(ArrayList children,
    FSet fSet) 
Method from java.util.regex.JointSet Summary:
first,   getGroup,   getName,   getNext,   hasConsumed,   matches,   processSecondPass,   setNext
Methods from java.util.regex.AbstractSet:
find,   findBack,   first,   getName,   getNext,   getQualifiedName,   getType,   hasConsumed,   matches,   processBackRefReplacement,   processSecondPass,   setNext,   setType,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.regex.JointSet Detail:
 public boolean first(AbstractSet set) 
 public int getGroup() 
 protected String getName() 
 public AbstractSet getNext() 
 public boolean hasConsumed(MatchResultImpl matchResult) 
 public int matches(int stringIndex,
    CharSequence testString,
    MatchResultImpl matchResult) 
    Returns stringIndex+shift, the next position to match
 public  void processSecondPass() 
    This method is used for traversing nodes after the first stage of compilation.
 public  void setNext(AbstractSet next)