Package jsonvalues.gen
Class JsGens
- java.lang.Object
-
- jsonvalues.gen.JsGens
-
public class JsGens extends Object
-
-
Constructor Summary
Constructors Constructor Description JsGens()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsGen<JsStr>alphabetic(int length)static JsGen<JsStr>alphanumeric(int length)static JsGen<JsArray>arrayOf(JsGen<?> gen, int size)static JsGen<JsInt>choose(int min, int max)static <O extends JsValue>
JsGen<O>oneOf(List<O> list)static JsGen<?>oneOf(JsGen<?> a, JsGen<?>... others)static JsGen<JsValue>oneOf(JsValue a, JsValue... others)static JsGen<JsValue>single(JsValue value)static JsGen<JsStr>str(int length)static JsGen<JsArray>tuple(JsGen<?> gen, JsGen<?>... others)
-