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 JsObjSupplier
empty()
returns a JsObjSupplier that is completed returning the empty Json objectJsObj
get()
static JsObjSupplier
of(String key, Supplier<? extends JsValue> supplier)
static factory method to create a JsObjSupplier of one mappingstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2)
static factory method to create a JsObjSupplier of one mappingstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3)
static factory method to create a JsObjSupplier of three mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4)
static factory method to create a JsObjSupplier of four mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5)
static factory method to create a JsObjSupplier of five mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6)
static factory method to create a JsObjSupplier of six mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7)
static factory method to create a JsObjSupplier of seven mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8)
static factory method to create a JsObjSupplier of eight mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9)
static factory method to create a JsObjSupplier of nine mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10)
static factory method to create a JsObjSupplier of ten mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11)
static factory method to create a JsObjSupplier of eleven mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11, String key12, Supplier<? extends JsValue> supplier12)
static factory method to create a JsObjSupplier of twelve mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11, String key12, Supplier<? extends JsValue> supplier12, String key13, Supplier<? extends JsValue> supplier13)
static factory method to create a JsObjSupplier of thirteen mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11, String key12, Supplier<? extends JsValue> supplier12, String key13, Supplier<? extends JsValue> supplier13, String key14, Supplier<? extends JsValue> supplier14)
static factory method to create a JsObjSupplier of fourteen mappingsstatic JsObjSupplier
of(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11, String key12, Supplier<? extends JsValue> supplier12, String key13, Supplier<? extends JsValue> supplier13, String key14, Supplier<? extends JsValue> supplier14, String key15, Supplier<? extends JsValue> supplier15)
static factory method to create a JsObjSupplier of fifteen mappingsJsObjSupplier
set(String key, Supplier<? extends JsValue> supplier)
returns a new object supplier inserting the given supplier at the given key
-
-
-
Method Detail
-
of
public static JsObjSupplier of(String key, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11, String key12, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11, String key12, Supplier<? extends JsValue> supplier12, String key13, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11, String key12, Supplier<? extends JsValue> supplier12, String key13, Supplier<? extends JsValue> supplier13, String key14, 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(String key1, Supplier<? extends JsValue> supplier1, String key2, Supplier<? extends JsValue> supplier2, String key3, Supplier<? extends JsValue> supplier3, String key4, Supplier<? extends JsValue> supplier4, String key5, Supplier<? extends JsValue> supplier5, String key6, Supplier<? extends JsValue> supplier6, String key7, Supplier<? extends JsValue> supplier7, String key8, Supplier<? extends JsValue> supplier8, String key9, Supplier<? extends JsValue> supplier9, String key10, Supplier<? extends JsValue> supplier10, String key11, Supplier<? extends JsValue> supplier11, String key12, Supplier<? extends JsValue> supplier12, String key13, Supplier<? extends JsValue> supplier13, String key14, Supplier<? extends JsValue> supplier14, String key15, 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(String key, 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
-
-