public static enum CodePointTrie.Type extends Enum<CodePointTrie.Type>
Use null for CodePointTrie.fromBinary(com.ibm.icu.util.CodePointTrie.Type, com.ibm.icu.util.CodePointTrie.ValueWidth, java.nio.ByteBuffer)
to accept any type;
CodePointTrie.getType()
will return the actual type.
Enum Constant and Description |
---|
FAST
Fast/simple/larger BMP data structure.
|
SMALL
Small/slower BMP data structure.
|
Modifier and Type | Method and Description |
---|---|
static CodePointTrie.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodePointTrie.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodePointTrie.Type FAST
CodePointTrie.Fast
subclasses have additional functions for lookup for BMP and supplementary code points.CodePointTrie.Fast
public static final CodePointTrie.Type SMALL
CodePointTrie.Small
public static CodePointTrie.Type[] values()
for (CodePointTrie.Type c : CodePointTrie.Type.values()) System.out.println(c);
public static CodePointTrie.Type 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 nullCopyright © 2016 Unicode, Inc. and others.