Class LRUCache

  • All Implemented Interfaces:
    java.io.Serializable , java.util.SequencedMap , kotlin.Cloneable , kotlin.collections.Map , kotlin.collections.Map , kotlin.collections.MutableMap , kotlin.collections.MutableMap

    
    public final class LRUCache<K extends Object, V extends Object>
    extends LinkedHashMap<K, V>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      LRUCache(Integer limit)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Collection<V> getValues()
      Set<K> getKeys()
      Set<Entry.Map<K, V>> getEntries()
      • Methods inherited from class dev.arbjerg.lavalink.internal.loadbalancing.LRUCache

        isEmpty
      • Methods inherited from class java.util.SequencedMap

        firstEntry, lastEntry, pollFirstEntry, pollLastEntry, putFirst, putLast, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues
      • Methods inherited from class kotlin.collections.Map

        containsKey, containsValue, forEach, get, getOrDefault, isEmpty
      • Methods inherited from class kotlin.collections.MutableMap

        clear, compute, computeIfAbsent, computeIfPresent, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
      • Methods inherited from class kotlin.Cloneable

        clone
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait