Package jsonvalues.supplier
Class JsObjSupplier
- java.lang.Object
-
- jsonvalues.supplier.JsObjSupplier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsObjSupplierempty()returns a JsObjSupplier that is completed returning the empty Json objectJsObjget()static JsObjSupplierof(java.lang.String key, java.util.function.Supplier<? extends JsValue> supplier)static factory method to create a JsObjSupplier of one mappingstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2)static factory method to create a JsObjSupplier of one mappingstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3)static factory method to create a JsObjSupplier of three mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4)static factory method to create a JsObjSupplier of four mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5)static factory method to create a JsObjSupplier of five mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6)static factory method to create a JsObjSupplier of six mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7)static factory method to create a JsObjSupplier of seven mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8)static factory method to create a JsObjSupplier of eight mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9)static factory method to create a JsObjSupplier of nine mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10)static factory method to create a JsObjSupplier of ten mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11)static factory method to create a JsObjSupplier of eleven mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11, java.lang.String key12, java.util.function.Supplier<? extends JsValue> supplier12)static factory method to create a JsObjSupplier of twelve mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11, java.lang.String key12, java.util.function.Supplier<? extends JsValue> supplier12, java.lang.String key13, java.util.function.Supplier<? extends JsValue> supplier13)static factory method to create a JsObjSupplier of thirteen mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11, java.lang.String key12, java.util.function.Supplier<? extends JsValue> supplier12, java.lang.String key13, java.util.function.Supplier<? extends JsValue> supplier13, java.lang.String key14, java.util.function.Supplier<? extends JsValue> supplier14)static factory method to create a JsObjSupplier of fourteen mappingsstatic JsObjSupplierof(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11, java.lang.String key12, java.util.function.Supplier<? extends JsValue> supplier12, java.lang.String key13, java.util.function.Supplier<? extends JsValue> supplier13, java.lang.String key14, java.util.function.Supplier<? extends JsValue> supplier14, java.lang.String key15, java.util.function.Supplier<? extends JsValue> supplier15)static factory method to create a JsObjSupplier of fifteen mappingsJsObjSupplierset(java.lang.String key, java.util.function.Supplier<? extends JsValue> supplier)returns a new object supplier inserting the given supplier at the given key
-
-
-
Method Detail
-
of
public static JsObjSupplier of(java.lang.String key, java.util.function.Supplier<? extends JsValue> supplier)
static factory method to create a JsObjSupplier of one mapping- Parameters:
key- the keysupplier- the mapping associated to the key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2)
static factory method to create a JsObjSupplier of one mapping- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3)
static factory method to create a JsObjSupplier of three mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4)
static factory method to create a JsObjSupplier of four mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5)
static factory method to create a JsObjSupplier of five mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6)
static factory method to create a JsObjSupplier of six mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7)
static factory method to create a JsObjSupplier of seven mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8)
static factory method to create a JsObjSupplier of eight mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh keykey8- the eighth keysupplier8- the mapping associated to the eighth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9)
static factory method to create a JsObjSupplier of nine mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh keykey8- the eighth keysupplier8- the mapping associated to the eighth keykey9- the ninth keysupplier9- the mapping associated to the ninth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10)
static factory method to create a JsObjSupplier of ten mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh keykey8- the eighth keysupplier8- the mapping associated to the eighth keykey9- the ninth keysupplier9- the mapping associated to the ninth keykey10- the tenth keysupplier10- the mapping associated to the tenth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11)
static factory method to create a JsObjSupplier of eleven mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh keykey8- the eighth keysupplier8- the mapping associated to the eighth keykey9- the ninth keysupplier9- the mapping associated to the ninth keykey10- the tenth keysupplier10- the mapping associated to the eleventh keykey11- the tenth keysupplier11- the mapping associated to the eleventh key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11, java.lang.String key12, java.util.function.Supplier<? extends JsValue> supplier12)
static factory method to create a JsObjSupplier of twelve mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh keykey8- the eighth keysupplier8- the mapping associated to the eighth keykey9- the ninth keysupplier9- the mapping associated to the ninth keykey10- the tenth keysupplier10- the mapping associated to the eleventh keykey11- the eleventh keysupplier11- the mapping associated to the eleventh keykey12- the twelfth keysupplier12- the mapping associated to the twelfth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11, java.lang.String key12, java.util.function.Supplier<? extends JsValue> supplier12, java.lang.String key13, java.util.function.Supplier<? extends JsValue> supplier13)
static factory method to create a JsObjSupplier of thirteen mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh keykey8- the eighth keysupplier8- the mapping associated to the eighth keykey9- the ninth keysupplier9- the mapping associated to the ninth keykey10- the tenth keysupplier10- the mapping associated to the eleventh keykey11- the eleventh keysupplier11- the mapping associated to the eleventh keykey12- the twelfth keysupplier12- the mapping associated to the twelfth key,key13- the thirteenth keysupplier13- the mapping associated to the thirteenth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11, java.lang.String key12, java.util.function.Supplier<? extends JsValue> supplier12, java.lang.String key13, java.util.function.Supplier<? extends JsValue> supplier13, java.lang.String key14, java.util.function.Supplier<? extends JsValue> supplier14)
static factory method to create a JsObjSupplier of fourteen mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh keykey8- the eighth keysupplier8- the mapping associated to the eighth keykey9- the ninth keysupplier9- the mapping associated to the ninth keykey10- the tenth keysupplier10- the mapping associated to the eleventh keykey11- the eleventh keysupplier11- the mapping associated to the eleventh keykey12- the twelfth keysupplier12- the mapping associated to the twelfth key,key13- the thirteenth keysupplier13- the mapping associated to the thirteenth keykey14- the fourteenth keysupplier14- the mapping associated to the fourteenth key- Returns:
- a JsObjSupplier
-
of
public static JsObjSupplier of(java.lang.String key1, java.util.function.Supplier<? extends JsValue> supplier1, java.lang.String key2, java.util.function.Supplier<? extends JsValue> supplier2, java.lang.String key3, java.util.function.Supplier<? extends JsValue> supplier3, java.lang.String key4, java.util.function.Supplier<? extends JsValue> supplier4, java.lang.String key5, java.util.function.Supplier<? extends JsValue> supplier5, java.lang.String key6, java.util.function.Supplier<? extends JsValue> supplier6, java.lang.String key7, java.util.function.Supplier<? extends JsValue> supplier7, java.lang.String key8, java.util.function.Supplier<? extends JsValue> supplier8, java.lang.String key9, java.util.function.Supplier<? extends JsValue> supplier9, java.lang.String key10, java.util.function.Supplier<? extends JsValue> supplier10, java.lang.String key11, java.util.function.Supplier<? extends JsValue> supplier11, java.lang.String key12, java.util.function.Supplier<? extends JsValue> supplier12, java.lang.String key13, java.util.function.Supplier<? extends JsValue> supplier13, java.lang.String key14, java.util.function.Supplier<? extends JsValue> supplier14, java.lang.String key15, java.util.function.Supplier<? extends JsValue> supplier15)
static factory method to create a JsObjSupplier of fifteen mappings- Parameters:
key1- the first keysupplier1- the mapping associated to the first keykey2- the second keysupplier2- the mapping associated to the second keykey3- the third keysupplier3- the mapping associated to the third keykey4- the fourth keysupplier4- the mapping associated to the fourth keykey5- the fifth keysupplier5- the mapping associated to the fifth keykey6- the sixth keysupplier6- the mapping associated to the sixth keykey7- the seventh keysupplier7- the mapping associated to the seventh keykey8- the eighth keysupplier8- the mapping associated to the eighth keykey9- the ninth keysupplier9- the mapping associated to the ninth keykey10- the tenth keysupplier10- the mapping associated to the eleventh keykey11- the eleventh keysupplier11- the mapping associated to the eleventh keykey12- the twelfth keysupplier12- the mapping associated to the twelfth key,key13- the thirteenth keysupplier13- the mapping associated to the thirteenth keykey14- the fourteenth keysupplier14- the mapping associated to the fourteenth keykey15- the fifteenth keysupplier15- the mapping associated to the fifteenth key- Returns:
- a JsObjSupplier
-
empty
public static JsObjSupplier empty()
returns a JsObjSupplier that is completed returning the empty Json object- Returns:
- a JsObjSupplier
-
set
public JsObjSupplier set(java.lang.String key, java.util.function.Supplier<? extends JsValue> supplier)
returns a new object supplier inserting the given supplier at the given key- Parameters:
key- the given keysupplier- the given supplier- Returns:
- a new JsObjSupplier
-
-