Class ProcessingStatistic
- java.lang.Object
-
- com.github.toolarium.processing.unit.runtime.ProcessingStatistic
-
- All Implemented Interfaces:
IProcessingStatistic,java.io.Serializable
public class ProcessingStatistic extends java.lang.Object implements IProcessingStatistic, java.io.Serializable
ImplementsIProcessingStatistic.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessingStatistic()ConstructorProcessingStatistic(IProcessingStatistic processingStatistic)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.Doubleget(java.lang.String key)Gets the statistic valueinthashCode()java.util.Set<java.lang.String>keySet()Returns the statistic key setjava.lang.Doubleput(java.lang.String key, java.lang.Double value)Put a statistic valuejava.lang.StringtoString()
-
-
-
Constructor Detail
-
ProcessingStatistic
public ProcessingStatistic()
Constructor
-
ProcessingStatistic
public ProcessingStatistic(IProcessingStatistic processingStatistic)
Constructor- Parameters:
processingStatistic- the processing statistic
-
-
Method Detail
-
keySet
public java.util.Set<java.lang.String> keySet()
Description copied from interface:IProcessingStatisticReturns the statistic key set- Specified by:
keySetin interfaceIProcessingStatistic- Returns:
- the key set
- See Also:
IProcessingStatistic.keySet()
-
get
public java.lang.Double get(java.lang.String key)
Description copied from interface:IProcessingStatisticGets the statistic value- Specified by:
getin interfaceIProcessingStatistic- Parameters:
key- the statistic key- Returns:
- the value if it was set; otherwise null
- See Also:
IProcessingStatistic.get(java.lang.String)
-
put
public java.lang.Double put(java.lang.String key, java.lang.Double value)Put a statistic value- Parameters:
key- the keyvalue- the statistic value- Returns:
- the previous set statistic value; otherwise null
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-