Package com.ibm.icu.text
Class TimeZoneNames.Cache
- Enclosing class:
- TimeZoneNames
TimeZoneNames cache used by
TimeZoneNames.getInstance(ULocale)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TimeZoneNames
createInstance
(String key, ULocale data) Creates an instance for the key and data.Methods inherited from class com.ibm.icu.impl.SoftCache
getInstance
-
Constructor Details
-
Cache
private Cache()
-
-
Method Details
-
createInstance
Description copied from class:CacheBase
Creates an instance for the key and data. Must be overridden.- Specified by:
createInstance
in classCacheBase<String,
TimeZoneNames, ULocale> - Parameters:
key
- Cache lookup key for the requested instancedata
- Data for the instance creation- Returns:
- The requested instance
-