| java.lang.Object java.util.regex.SpecialToken java.util.regex.AbstractCharClass java.util.regex.CharClass
CharClass | class CharClass extends AbstractCharClass (Code) | | User defined character classes ([abef]). See AbstractCharClass
documentation for more details.
author: Nikolay A. Kuznetsov version: $Revision: 1.11.2.2 $ |
Constructor Summary | |
public | CharClass() | public | CharClass(boolean ci, boolean uci) | public | CharClass(boolean negative, boolean ci, boolean uci) |
hideBits | boolean hideBits(Code) | | |
inverted | boolean inverted(Code) | | |
invertedSurrogates | boolean invertedSurrogates(Code) | | |
CharClass | public CharClass()(Code) | | |
CharClass | public CharClass(boolean ci, boolean uci)(Code) | | |
CharClass | public CharClass(boolean negative, boolean ci, boolean uci)(Code) | | |
contains | public boolean contains(int ch)(Code) | | Returns true if character class contains symbol specified,
false otherwise. Note: #setNegative() method changes the
meaning of contains method;
Parameters: ch - true if character class contains symbol specified;TODO: currently character class implementation based onBitSet, but this implementation possibly will be turned to combinedBitSet(for first 256 symbols) and Black/Red tree for the rest of UTF. |
getLowHighSurrogates | protected BitSet getLowHighSurrogates()(Code) | | |
hasUCI | public boolean hasUCI()(Code) | | |
Methods inherited from java.util.regex.SpecialToken | abstract public int getType()(Code)(Java Doc)
|
|
|