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
CacheEntry
public CacheEntry(Object key,
Object value,
Date expired)
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.