Class SoftCache<K,V extends SoftCache.Cacheable<K>>

java.lang.Object
com.github.weisj.darklaf.util.cache.SoftCache<K,V>

public class SoftCache<K,V extends SoftCache.Cacheable<K>> extends Object
  • Constructor Details

    • SoftCache

      public SoftCache()
  • Method Details

    • get

      public V get(K key)
    • put

      public void put(K key, V value)
    • clear

      public void clear()
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()