Class ValueSet
- java.lang.Object
-
- com.xceptance.xlt.api.report.external.ValueSet
-
public class ValueSet extends java.lang.ObjectAValueSet(long)describes a collection of data, accompanied by an optional timestamp.
-
-
Constructor Summary
Constructors Constructor Description ValueSet(long timestamp)Creates a new {link #ValueSet} instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(java.lang.String name, java.lang.Object value)Adds a named value.longgetTime()Returns the timestamp of this value set.java.util.Map<java.lang.String,java.lang.Object>getValues()Returns the key/value pairs.
-
-
-
Method Detail
-
addValue
public void addValue(java.lang.String name, java.lang.Object value)Adds a named value.- Parameters:
name- the name of the value, must not benullvalue- the value
-
getTime
public long getTime()
Returns the timestamp of this value set.- Returns:
- the timestamp of this value set
-
getValues
public java.util.Map<java.lang.String,java.lang.Object> getValues()
Returns the key/value pairs.- Returns:
- the key/value pairs
-
-