com.alachisoft.ncache.web.caching
Class Cache.Entry<K,V>
java.lang.Object
com.alachisoft.ncache.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>
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map.Entry |
hashCode |
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:
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:
setKey
public void setKey(K key)
- Parameters:
key
-
setValue
public V setValue(V value)
- Specified by:
setValue
in interface java.util.Map.Entry<K,V>
- Parameters:
value
-
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns: