Class HandleSet
- java.lang.Object
-
- com.vmware.vipclient.i18n.l2.plural.parser.HandleSet
-
public class HandleSet extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HandleSet(int... pairs)Quickly constructs a set from a set of ranges <s0, e0, s1, e1, s2, e2, ...
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(int c)Returns true if this set contains the given character.intspan(java.lang.CharSequence s, int start)Span a string using this UnicodeSet.
-
-
-
Method Detail
-
contains
public boolean contains(int c)
Returns true if this set contains the given character.- Parameters:
c- character to be checked for containment- Returns:
- true if the test condition is met
-
span
public int span(java.lang.CharSequence s, int start)Span a string using this UnicodeSet.- Parameters:
s- The string to be spannedstart- The start index that the span begins- Returns:
- the string index which ends the span
-
-