org.dozer.cache
Class CacheEntry<KeyType,ValueType>
java.lang.Object
org.dozer.cache.CacheEntry<KeyType,ValueType>
public class CacheEntry<KeyType,ValueType>
- extends Object
Internal class that represents one entry in the cache. Holds the cache value, unique key for lookup, and creation
time. Only intended for internal use.
- Author:
- tierney.matt, dmitry.buzdin
CacheEntry
public CacheEntry(KeyType key,
ValueType value)
getKey
public KeyType getKey()
getValue
public ValueType getValue()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2005-2011 dozer. All Rights Reserved.