org.apache.solr.util

## Class ConcurrentLFUCache.CacheEntry<K,V>

- java.lang.Object
- - org.apache.solr.util.ConcurrentLFUCache.CacheEntry<K,V>

- All Implemented Interfaces:
    Comparable<ConcurrentLFUCache.CacheEntry<K,V>>
  Enclosing class:
    ConcurrentLFUCache<K,V>

      public static class ConcurrentLFUCache.CacheEntry<K,V>
      extends Object
      implements Comparable<ConcurrentLFUCache.CacheEntry<K,V>>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CacheEntry(K key, V value, long lastAccessed)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(ConcurrentLFUCache.CacheEntry<K,V> that)`
    `boolean` | `equals(Object obj)`
    `int` | `hashCode()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CacheEntry

          public CacheEntry(K key,
                            V value,
                            long lastAccessed)

  - ### Method Detail

    - #### compareTo

          public int compareTo(ConcurrentLFUCache.CacheEntry<K,V> that)

      Specified by:
        `compareTo` in interface `Comparable<ConcurrentLFUCache.CacheEntry<K,V>>`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.