java.util.regex
Class Pattern.Slice
java.lang.Object
java.util.regex.Pattern.Node
java.util.regex.Pattern.Slice
- Enclosing class:
- Pattern
- static final class Pattern.Slice
- extends Pattern.Node
Node class for a case sensitive sequence of literal characters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
char[] buffer
next
Pattern.Node next
Pattern.Slice
Pattern.Slice(char[] buf)
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)