Package com.ibm.icu.charset
Class UConverterSharedData
java.lang.Object
com.ibm.icu.charset.UConverterSharedData
Defines the UConverterSharedData struct, the immutable, shared part of
UConverter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
Enum for specifying which platform a converter ID refers to.(package private) static final class
UConverterImpl contains all the data and functions for a converter type. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String
(package private) CharsetMBCS.UConverterMBCSTable
Shared data structures currently come in two flavors: - readonly for built-in algorithmic converters - allocated for MBCS, with a pointer to an allocated UConverterTable which always has a UConverterMBCSTable To eliminate one allocation, I am making the UConverterMBCSTable a member of the shared data.(package private) final UConverterStaticData
pointer to the static (non changing) data. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
staticData
pointer to the static (non changing) data. -
mbcs
Shared data structures currently come in two flavors: - readonly for built-in algorithmic converters - allocated for MBCS, with a pointer to an allocated UConverterTable which always has a UConverterMBCSTable To eliminate one allocation, I am making the UConverterMBCSTable a member of the shared data. It is the last member so that static definitions of UConverterSharedData work as before. The table field above also remains to avoid updating all static definitions, but is now unused. -
DATA_TYPE
- See Also:
-
-
Constructor Details
-
UConverterSharedData
UConverterSharedData(UConverterStaticData staticData_)
-