java.util.regex
Class Pattern.Conditional

java.lang.Object
  extended byjava.util.regex.Pattern.Node
      extended byjava.util.regex.Pattern.Conditional
Enclosing class:
Pattern

static final class Pattern.Conditional
extends Pattern.Node


Field Summary
(package private)  Pattern.Node cond
           
(package private)  Pattern.Node next
           
(package private)  Pattern.Node not
           
(package private)  Pattern.Node yes
           
 
Constructor Summary
(package private) Pattern.Conditional(Pattern.Node cond, Pattern.Node yes, Pattern.Node not)
           
 
Method Summary
(package private)  Pattern.Node dup(boolean not)
           
(package private)  boolean match(Matcher matcher, int i, CharSequence seq)
          This method implements the classic accept node.
(package private)  boolean study(Pattern.TreeInfo info)
          This method is good for all zero length assertions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cond

Pattern.Node cond

yes

Pattern.Node yes

not

Pattern.Node not

next

Pattern.Node next
Constructor Detail

Pattern.Conditional

Pattern.Conditional(Pattern.Node cond,
                    Pattern.Node yes,
                    Pattern.Node not)
Method Detail

match

boolean match(Matcher matcher,
              int i,
              CharSequence seq)
Description copied from class: Pattern.Node
This method implements the classic accept node.

Overrides:
match in class Pattern.Node

study

boolean study(Pattern.TreeInfo info)
Description copied from class: Pattern.Node
This method is good for all zero length assertions.

Overrides:
study in class Pattern.Node

dup

Pattern.Node dup(boolean not)