Class SimpleCache

  • All Implemented Interfaces:
    ICUCache

    public class SimpleCache
    extends java.lang.Object
    implements ICUCache
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      java.lang.Object get​(java.lang.Object key)  
      void put​(java.lang.Object key, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleCache

        public SimpleCache()
      • SimpleCache

        public SimpleCache​(int cacheType)
      • SimpleCache

        public SimpleCache​(int cacheType,
                           int initialCapacity)
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.Object key)
        Specified by:
        get in interface ICUCache
      • put

        public void put​(java.lang.Object key,
                        java.lang.Object value)
        Specified by:
        put in interface ICUCache
      • clear

        public void clear()
        Specified by:
        clear in interface ICUCache