org.richfaces.cache.lru

## Class CacheEntry

- java.lang.Object
- - org.richfaces.cache.lru.CacheEntry

- All Implemented Interfaces:
    Comparable<CacheEntry>

      public final class CacheEntry
      extends Object
      implements Comparable<CacheEntry>

  User: akolonitsky Date: Oct 13, 2009

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CacheEntry(Object key, Object value, Date expired)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(CacheEntry o)`
    `boolean` | `equals(Object obj)`
    `Date` | `getExpired()`
    `Object` | `getKey()`
    `Object` | `getValue()`
    `int` | `hashCode()`
    `boolean` | `isExpired()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### CacheEntry

          public CacheEntry(Object key,
                    Object value,
                    Date expired)

  - ### Method Detail

    - #### getKey

          public Object getKey()

    - #### getValue

          public Object getValue()

    - #### isExpired

          public boolean isExpired()

    - #### getExpired

          public Date getExpired()

    - #### compareTo

          public int compareTo(CacheEntry o)

      Specified by:
        `compareTo` in interface `Comparable<CacheEntry>`

    - #### 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 © 2014 JBoss by Red Hat. All Rights Reserved.