Class SimpleCache<K,V>

java.lang.Object
com.ibm.icu.impl.SimpleCache<K,V>
All Implemented Interfaces:
ICUCache<K,V>

public class SimpleCache<K,V> extends Object implements ICUCache<K,V>
  • Field Details

    • DEFAULT_CAPACITY

      private static final int DEFAULT_CAPACITY
      See Also:
    • cacheRef

      private volatile Reference<Map<K,V>> cacheRef
    • type

      private int type
    • capacity

      private int capacity
  • Constructor Details

    • SimpleCache

      public SimpleCache()
    • SimpleCache

      public SimpleCache(int cacheType)
    • SimpleCache

      public SimpleCache(int cacheType, int initialCapacity)
  • Method Details