Package growthbook.sdk.java
Class Namespace
java.lang.Object
growthbook.sdk.java.Namespace
Deprecated.
A tuple that specifies what part of a namespace an experiment includes. If two experiments are in the same namespace and their ranges don't overlap, they wil be mutually exclusive.
The tuple has 3 parts:
- The namespace id (string)
- The beginning of the range (float, between 0 and 1)
- The end of the range (float, between 0 and 1)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.gson.JsonDeserializer<Namespace>
Deprecated.a Gson deserializer forNamespace
static com.google.gson.JsonSerializer<Namespace>
Deprecated.a Gson serializer forNamespace
toJson()
Deprecated.A JSON string for the namespace, resulting in a triple value [id, rangeStart, rangeEnd]toString()
Deprecated.
-
Constructor Details
-
Namespace
public Namespace()Deprecated.
-
-
Method Details
-
toJson
Deprecated.A JSON string for the namespace, resulting in a triple value [id, rangeStart, rangeEnd]- Returns:
- JSON string
-
toString
Deprecated. -
getDeserializer
Deprecated.a Gson deserializer forNamespace
- Returns:
- a deserializer for
Namespace
-
getSerializer
Deprecated.a Gson serializer forNamespace
- Returns:
- a serializer for
Namespace
-