Package jsonvalues.supplier
Class JsArraySupplier
- java.lang.Object
-
- jsonvalues.supplier.JsArraySupplier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JsArraySupplier
append(java.util.function.Supplier<? extends JsValue> future)
static JsArraySupplier
empty()
returns a JsArraySupplier that returns an empty Json arrayJsArray
get()
static JsArraySupplier
tuple(java.util.function.Supplier<? extends JsValue> head, java.util.function.Supplier<? extends JsValue>... tail)
returns a JsArraySupplier from the given head and the tail
-
-
-
Method Detail
-
tuple
@SafeVarargs public static JsArraySupplier tuple(java.util.function.Supplier<? extends JsValue> head, java.util.function.Supplier<? extends JsValue>... tail)
returns a JsArraySupplier from the given head and the tail- Parameters:
head
- the headtail
- the tail- Returns:
- a new JsArraySupplier
-
empty
public static JsArraySupplier empty()
returns a JsArraySupplier that returns an empty Json array- Returns:
- a JsArraySupplier
-
append
public JsArraySupplier append(java.util.function.Supplier<? extends JsValue> future)
-
-