Package growthbook.sdk.java
Class Namespace
java.lang.Object
growthbook.sdk.java.Namespace
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.gson.JsonDeserializer<Namespace>a Gson deserializer forNamespacestatic com.google.gson.JsonSerializer<Namespace>a Gson serializer forNamespacetoJson()A JSON string for the namespace, resulting in a triple value [id, rangeStart, rangeEnd]toString()
-
Constructor Details
-
Namespace
public Namespace()
-
-
Method Details