public final class BMPSet extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
U16_SURROGATE_OFFSET |
| Constructor and Description |
|---|
BMPSet(BMPSet otherBMPSet,
int[] newParentList,
int newParentListLength) |
BMPSet(int[] parentList,
int parentListLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(int c) |
int |
span(CharSequence s,
int start,
UnicodeSet.SpanCondition spanCondition,
OutputInt outCount)
Span the initial substring for which each character c has spanCondition==contains(c).
|
int |
spanBack(CharSequence s,
int limit,
UnicodeSet.SpanCondition spanCondition)
Symmetrical with span().
|
public BMPSet(int[] parentList,
int parentListLength)
public BMPSet(BMPSet otherBMPSet, int[] newParentList, int newParentListLength)
public boolean contains(int c)
public final int span(CharSequence s, int start, UnicodeSet.SpanCondition spanCondition, OutputInt outCount)
start - The start indexoutCount - If not null: Receives the number of code points in the span.public final int spanBack(CharSequence s, int limit, UnicodeSet.SpanCondition spanCondition)