public static enum JSSegmenter.Granularity extends Enum<JSSegmenter.Granularity>
Enum.EnumDesc<E extends Enum<E>>| Modifier and Type | Method and Description |
|---|---|
org.graalvm.shadowed.com.ibm.icu.text.BreakIterator |
getIterator(org.graalvm.shadowed.com.ibm.icu.util.ULocale locale) |
String |
getName() |
static JSSegmenter.Granularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSSegmenter.Granularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSSegmenter.Granularity GRAPHEME
public static final JSSegmenter.Granularity WORD
public static final JSSegmenter.Granularity SENTENCE
public static JSSegmenter.Granularity[] values()
public static JSSegmenter.Granularity valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public org.graalvm.shadowed.com.ibm.icu.text.BreakIterator getIterator(org.graalvm.shadowed.com.ibm.icu.util.ULocale locale)