Class CacheStub<K,V>

java.lang.Object
com.e1c.langtool.internal.external.cache.CacheStub<K,V>
All Implemented Interfaces:
ICache<K,V>

public class CacheStub<K,V> extends Object implements ICache<K,V>
This class is a stub of cache that do nothing.
  • Constructor Details

    • CacheStub

      public CacheStub()
  • Method Details

    • put

      public void put(K key, V value)
      Specified by:
      put in interface ICache<K,V>
    • putAll

      public void putAll(Map<? extends K,? extends V> map)
      Specified by:
      putAll in interface ICache<K,V>
    • get

      public V get(K key)
      Specified by:
      get in interface ICache<K,V>
    • getAll

      public Map<K,V> getAll()
      Specified by:
      getAll in interface ICache<K,V>
    • remove

      public void remove(K key)
      Specified by:
      remove in interface ICache<K,V>
    • removeAll

      public void removeAll(Iterator<?> keys)
      Specified by:
      removeAll in interface ICache<K,V>
    • removeAll

      public void removeAll()
      Specified by:
      removeAll in interface ICache<K,V>
    • size

      public long size()
      Specified by:
      size in interface ICache<K,V>