net.sf.jbaobab.expirable
Class ExpirableMap.InternalRemoverImpl.EntryImpl<K,V>
java.lang.Object
net.sf.jbaobab.expirable.ExpirableMap.InternalRemoverImpl.EntryImpl<K,V>
- All Implemented Interfaces:
- Map.Entry<K,V>
- Enclosing class:
- ExpirableMap.InternalRemoverImpl<K,V>
public static final class ExpirableMap.InternalRemoverImpl.EntryImpl<K,V>
- extends Object
- implements Map.Entry<K,V>
A Map.Entry implementation.
- Author:
- Oakyoon Cha
ExpirableMap.InternalRemoverImpl.EntryImpl
protected ExpirableMap.InternalRemoverImpl.EntryImpl(K key,
V value)
ExpirableMap.InternalRemoverImpl.EntryImpl
protected ExpirableMap.InternalRemoverImpl.EntryImpl(Map.Entry<? extends K,? extends V> entry)
getKey
public K getKey()
- Specified by:
getKey in interface Map.Entry<K,V>
getValue
public V getValue()
- Specified by:
getValue in interface Map.Entry<K,V>
setValue
public V setValue(V value)
- Specified by:
setValue in interface Map.Entry<K,V>
hashCode
public int hashCode()
- Specified by:
hashCode in interface Map.Entry<K,V>- Overrides:
hashCode in class Object
equals
public boolean equals(Object object)
- Specified by:
equals in interface Map.Entry<K,V>- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object