java.util.regex
Class Pattern.Add
java.lang.Object
java.util.regex.Pattern.Node
java.util.regex.Pattern.Add
- Direct Known Subclasses:
- Pattern.Sub
- Enclosing class:
- Pattern
- static class Pattern.Add
- extends Pattern.Node
An object added to the tree when a character class has an additional
range added to it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lhs
Pattern.Node lhs
rhs
Pattern.Node rhs
next
Pattern.Node next
Pattern.Add
Pattern.Add(Pattern.Node lhs,
Pattern.Node rhs)
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)