org.dozer.stats
Class Statistic
java.lang.Object
org.dozer.stats.Statistic
public class Statistic
- extends Object
Internal class that provides an interface to a single statistic. Holds all of the statistic entries for the
statistic. Only intended for internal use.
- Author:
- tierney.matt, dmitry.buzdin
Statistic
public Statistic(StatisticType type)
getType
public StatisticType getType()
increment
public StatisticEntry increment(Object statisticEntryKey,
long value)
clear
public void clear()
getEntries
public Set<StatisticEntry> getEntries()
getEntry
public StatisticEntry getEntry(Object entryKey)
getStatisticValue
public long getStatisticValue(Object entryKey)
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.