| Package | Description |
|---|---|
| com.ibm.icu.text |
| Modifier and Type | Method and Description |
|---|---|
static UnicodeSetSpanner.TrimOption |
UnicodeSetSpanner.TrimOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnicodeSetSpanner.TrimOption[] |
UnicodeSetSpanner.TrimOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
UnicodeSetSpanner.trim(CharSequence sequence,
UnicodeSetSpanner.TrimOption trimOption)
Returns a trimmed sequence (using CharSequence.subsequence()), that omits matching elements at the start or
end of the string, using the trimOption and SpanCondition.SIMPLE.
|
CharSequence |
UnicodeSetSpanner.trim(CharSequence sequence,
UnicodeSetSpanner.TrimOption trimOption,
UnicodeSet.SpanCondition spanCondition)
Returns a trimmed sequence (using CharSequence.subsequence()), that omits matching elements at the start or
end of the string, depending on the trimOption and spanCondition.
|
Copyright © 2016 Unicode, Inc. and others.