public class Experiment<ValueType>
extends Object
Defines a single Experiment
-
Constructor Summary
Constructors
-
Method Summary
static <ValueType>
com.google.gson.JsonElement
Get a Gson JsonElement of the experiment
Get a Gson JsonElement of the experiment
-
Constructor Details
-
Experiment
public Experiment()
-
Method Details
-
toJson
Get a Gson JsonElement of the experiment
- Returns:
- JsonElement
-
-
getJson
public static <ValueType>
com.google.gson.JsonElement getJson(Experiment<ValueType> object)
Get a Gson JsonElement of the experiment
- Type Parameters:
ValueType
- value type for the experiment
- Parameters:
object
- experiment
- Returns:
- JsonElement