public class CP16BitMatchers extends Object
CharMatchers.| Constructor and Description |
|---|
CP16BitMatchers() |
| Modifier and Type | Method and Description |
|---|---|
static CharMatcher |
createMatcher(CodePointSet cps,
CompilationBuffer compilationBuffer)
Create a new
CharMatcher from the given code point set. |
static int |
highByte(int c) |
static int |
lowByte(int c) |
static String |
rangesToString(char[] ranges) |
static String |
rangesToString(char[] ranges,
boolean numeric) |
public static CharMatcher createMatcher(CodePointSet cps, CompilationBuffer compilationBuffer)
CharMatcher from the given code point set. The given set must contain
either none or all of the code points above 0xffff. Code points above 0xffff
are cut off.public static int highByte(int c)
public static int lowByte(int c)
public static String rangesToString(char[] ranges)
public static String rangesToString(char[] ranges, boolean numeric)