de.cohesion.bssh.impl.util
Class CacheEntry<K,E>

java.lang.Object
  extended by de.cohesion.bssh.impl.util.CacheEntry<K,E>
Direct Known Subclasses:
LazyCacheEntry

public class CacheEntry<K,E>
extends java.lang.Object

Author:
schulzs

Constructor Summary
CacheEntry(K key, E value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 K getKey()
           
 long getLastAccessTime()
           
 E getValue()
           
 int hashCode()
           
protected  void setValue(E value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheEntry

public CacheEntry(K key,
                  E value)
Method Detail

getKey

public K getKey()

setValue

protected void setValue(E value)

getValue

public E getValue()
           throws java.lang.InstantiationException
Throws:
java.lang.InstantiationException

getLastAccessTime

public long getLastAccessTime()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


Copyright © 2005 . All Rights Reserved.