java.lang.Object
jsonvalues.gen.JsTupleGen
Represents a tuple generator that is modeled with a JsArray generator.
Each generator of the tuple is created from a new seed that is calculated
by passing the original one to the
split generator
.-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface fun.gen.Gen
classify, classify, collect, collect, distinct, distinct, map, peek, sample, sample, sample, suchThat, suchThat, then
-
Method Details
-
of
@SafeVarargs public static fun.gen.Gen<JsArray> of(fun.gen.Gen<? extends JsValue> gen, fun.gen.Gen<? extends JsValue>... others) Returns a tuple generator. The tuple is modeled with a JsArray. Each element generator is independent of each other, being created from a different seed.- Parameters:
gen
- The head element generator.others
- The rest of the generators.- Returns:
- A JsArray generator.
-
apply
-