Package com.ibm.icu.text
Class TimeZoneNames.Cache
- java.lang.Object
-
- com.ibm.icu.impl.CacheBase<K,V,D>
-
- com.ibm.icu.impl.SoftCache<java.lang.String,TimeZoneNames,ULocale>
-
- com.ibm.icu.text.TimeZoneNames.Cache
-
- Enclosing class:
- TimeZoneNames
private static class TimeZoneNames.Cache extends SoftCache<java.lang.String,TimeZoneNames,ULocale>
TimeZoneNames cache used byTimeZoneNames.getInstance(ULocale)
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Cache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TimeZoneNames
createInstance(java.lang.String key, ULocale data)
Creates an instance for the key and data.-
Methods inherited from class com.ibm.icu.impl.SoftCache
getInstance
-
-
-
-
Method Detail
-
createInstance
protected TimeZoneNames createInstance(java.lang.String key, ULocale data)
Description copied from class:CacheBase
Creates an instance for the key and data. Must be overridden.- Specified by:
createInstance
in classCacheBase<java.lang.String,TimeZoneNames,ULocale>
- Parameters:
key
- Cache lookup key for the requested instancedata
- Data for the instance creation- Returns:
- The requested instance
-
-