org.dozer.stats
Class StatisticEntry
java.lang.Object
org.dozer.stats.StatisticEntry
public class StatisticEntry
- extends Object
Internal class that represents one entry in the statistic. Holds the statistic value and unique key for lookup.
Entry counter is based on AtomicLong and is Thread Safe.
Only intended for internal use.
- Author:
- tierney.matt, dmitry.buzdin
StatisticEntry
public StatisticEntry(Object key)
getKey
public Object getKey()
getValue
public long getValue()
increment
public void increment(long value)
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2005-2011 dozer. All Rights Reserved.