public class HandleSet
extends java.lang.Object
| 构造器和说明 |
|---|
HandleSet(int... pairs)
Quickly constructs a set from a set of ranges <s0, e0, s1, e1, s2, e2,
...
|
public HandleSet(int... pairs)
pairs - pairs of characterpublic boolean contains(int c)
c - character to be checked for containmentpublic int span(java.lang.CharSequence s,
int start)
s - The string to be spannedstart - The start index that the span begins