| java.lang.Object sun.text.UCompactIntArray
UCompactIntArray | final public class UCompactIntArray implements Cloneable(Code) | | |
Constructor Summary | |
public | UCompactIntArray() Default constructor for UCompactIntArray, the default value of the
compact array is 0. | public | UCompactIntArray(int defaultValue) |
Method Summary | |
public void | compact() Compact the array. | public int | elementAt(int index) Get the mapped value of a Unicode character. | public int | getKSize() | public void | setElementAt(int index, int value) Set a new value for a Unicode character. |
UCompactIntArray | public UCompactIntArray()(Code) | | Default constructor for UCompactIntArray, the default value of the
compact array is 0.
|
UCompactIntArray | public UCompactIntArray(int defaultValue)(Code) | | |
compact | public void compact()(Code) | | Compact the array.
|
elementAt | public int elementAt(int index)(Code) | | Get the mapped value of a Unicode character.
Parameters: index - the character to get the mapped value with the mapped value of the given character |
getKSize | public int getKSize()(Code) | | |
setElementAt | public void setElementAt(int index, int value)(Code) | | Set a new value for a Unicode character.
Set automatically expands the array if it is compacted.
Parameters: index - the character to set the mapped value with Parameters: value - the new mapped value |
|
|