com.alachisoft.jvcache.web.caching
Class Cache.Entry<K,V>

java.lang.Object
  extended by com.alachisoft.jvcache.web.caching.Cache.Entry<K,V>
Type Parameters:
K -
V -
All Implemented Interfaces:
java.util.Map.Entry<K,V>
Enclosing class:
Cache<K,V>

public class Cache.Entry<K,V>
extends java.lang.Object
implements java.util.Map.Entry<K,V>


Method Summary
 boolean equals(java.lang.Object o)
           
 K getKey()
           
 V getValue()
           
 void setKey(K key)
           
 V setValue(V value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
hashCode
 

Method Detail

getKey

public K getKey()
Specified by:
getKey in interface java.util.Map.Entry<K,V>
Returns:

getValue

public V getValue()
Specified by:
getValue in interface java.util.Map.Entry<K,V>
Returns:

setValue

public V setValue(V value)
Specified by:
setValue in interface java.util.Map.Entry<K,V>
Parameters:
value -
Returns:

setKey

public void setKey(K key)
Parameters:
key -

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Map.Entry<K,V>
Overrides:
equals in class java.lang.Object
Parameters:
o -
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns: