public static enum CodePointTrie.Type extends java.lang.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(java.lang.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.Fastpublic static final CodePointTrie.Type SMALL
CodePointTrie.Smallpublic static CodePointTrie.Type[] values()
for (CodePointTrie.Type c : CodePointTrie.Type.values()) System.out.println(c);
public static CodePointTrie.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2016 Unicode, Inc. and others.