public static enum CodePointTrie.ValueWidth extends java.lang.Enum<CodePointTrie.ValueWidth>
Use null for CodePointTrie.fromBinary(com.ibm.icu.util.CodePointTrie.Type, com.ibm.icu.util.CodePointTrie.ValueWidth, java.nio.ByteBuffer) to accept any data value width;
CodePointTrie.getValueWidth() will return the actual data value width.
| Enum Constant and Description |
|---|
BITS_16
The trie stores 16 bits per data value.
|
BITS_32
The trie stores 32 bits per data value.
|
BITS_8
The trie stores 8 bits per data value.
|
| Modifier and Type | Method and Description |
|---|---|
static CodePointTrie.ValueWidth |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodePointTrie.ValueWidth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodePointTrie.ValueWidth BITS_16
public static final CodePointTrie.ValueWidth BITS_32
public static final CodePointTrie.ValueWidth BITS_8
public static CodePointTrie.ValueWidth[] values()
for (CodePointTrie.ValueWidth c : CodePointTrie.ValueWidth.values()) System.out.println(c);
public static CodePointTrie.ValueWidth 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.