java.util.regex
Class Pattern.BitClass

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

static final class Pattern.BitClass
extends Pattern.Node

Creates a bit vector for matching ASCII values.


Field Summary
(package private)  boolean[] bits
           
(package private)  boolean complementMe
           
(package private)  Pattern.Node next
           
 
Constructor Summary
(package private) Pattern.BitClass(boolean not)
           
(package private) Pattern.BitClass(boolean[] newBits, boolean not)
           
 
Method Summary
(package private)  Pattern.Node add(int c, int f)
           
(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

bits

boolean[] bits

complementMe

boolean complementMe

next

Pattern.Node next
Constructor Detail

Pattern.BitClass

Pattern.BitClass(boolean not)

Pattern.BitClass

Pattern.BitClass(boolean[] newBits,
                 boolean not)
Method Detail

add

Pattern.Node add(int c,
                 int f)

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