java.util.regex
Class Pattern.NotSingle
java.lang.Object
java.util.regex.Pattern.Node
java.util.regex.Pattern.NotSingle
- Enclosing class:
- Pattern
- static final class Pattern.NotSingle
- extends Pattern.Node
Node class to match any character except a single char value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ch
int ch
next
Pattern.Node next
Pattern.NotSingle
Pattern.NotSingle(int n)
dup
Pattern.Node dup(boolean not)
- Overrides:
dup
in class Pattern.Node
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