org.richfaces.cache.lru
Class CacheEntry

java.lang.Object
  extended by 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
CacheEntry(Object key, Object value, Date expired)
           
 
Method Summary
 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 © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.