Class JsObjSupplier

  • All Implemented Interfaces:
    java.util.function.Supplier<JsObj>

    public class JsObjSupplier
    extends java.lang.Object
    implements java.util.function.Supplier<JsObj>
    Represents a Json object of suppliers that combines every supplier and produces as a result a Json object
    • 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 object
      JsObj get()  
      static JsObjSupplier of​(java.lang.String key, java.util.function.Supplier<? extends JsValue> supplier)
      static factory method to create a JsObjSupplier of one mapping
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • get

        public JsObj get()
        Specified by:
        get in interface java.util.function.Supplier<JsObj>
      • 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 key
        supplier - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - the mapping associated to the seventh key
        key8 - the eighth key
        supplier8 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - the mapping associated to the seventh key
        key8 - the eighth key
        supplier8 - the mapping associated to the eighth key
        key9 - the ninth key
        supplier9 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - the mapping associated to the seventh key
        key8 - the eighth key
        supplier8 - the mapping associated to the eighth key
        key9 - the ninth key
        supplier9 - the mapping associated to the ninth key
        key10 - the tenth key
        supplier10 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - the mapping associated to the seventh key
        key8 - the eighth key
        supplier8 - the mapping associated to the eighth key
        key9 - the ninth key
        supplier9 - the mapping associated to the ninth key
        key10 - the tenth key
        supplier10 - the mapping associated to the eleventh key
        key11 - the tenth key
        supplier11 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - the mapping associated to the seventh key
        key8 - the eighth key
        supplier8 - the mapping associated to the eighth key
        key9 - the ninth key
        supplier9 - the mapping associated to the ninth key
        key10 - the tenth key
        supplier10 - the mapping associated to the eleventh key
        key11 - the eleventh key
        supplier11 - the mapping associated to the eleventh key
        key12 - the twelfth key
        supplier12 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - the mapping associated to the seventh key
        key8 - the eighth key
        supplier8 - the mapping associated to the eighth key
        key9 - the ninth key
        supplier9 - the mapping associated to the ninth key
        key10 - the tenth key
        supplier10 - the mapping associated to the eleventh key
        key11 - the eleventh key
        supplier11 - the mapping associated to the eleventh key
        key12 - the twelfth key
        supplier12 - the mapping associated to the twelfth key,
        key13 - the thirteenth key
        supplier13 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - the mapping associated to the seventh key
        key8 - the eighth key
        supplier8 - the mapping associated to the eighth key
        key9 - the ninth key
        supplier9 - the mapping associated to the ninth key
        key10 - the tenth key
        supplier10 - the mapping associated to the eleventh key
        key11 - the eleventh key
        supplier11 - the mapping associated to the eleventh key
        key12 - the twelfth key
        supplier12 - the mapping associated to the twelfth key,
        key13 - the thirteenth key
        supplier13 - the mapping associated to the thirteenth key
        key14 - the fourteenth key
        supplier14 - 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 key
        supplier1 - the mapping associated to the first key
        key2 - the second key
        supplier2 - the mapping associated to the second key
        key3 - the third key
        supplier3 - the mapping associated to the third key
        key4 - the fourth key
        supplier4 - the mapping associated to the fourth key
        key5 - the fifth key
        supplier5 - the mapping associated to the fifth key
        key6 - the sixth key
        supplier6 - the mapping associated to the sixth key
        key7 - the seventh key
        supplier7 - the mapping associated to the seventh key
        key8 - the eighth key
        supplier8 - the mapping associated to the eighth key
        key9 - the ninth key
        supplier9 - the mapping associated to the ninth key
        key10 - the tenth key
        supplier10 - the mapping associated to the eleventh key
        key11 - the eleventh key
        supplier11 - the mapping associated to the eleventh key
        key12 - the twelfth key
        supplier12 - the mapping associated to the twelfth key,
        key13 - the thirteenth key
        supplier13 - the mapping associated to the thirteenth key
        key14 - the fourteenth key
        supplier14 - the mapping associated to the fourteenth key
        key15 - the fifteenth key
        supplier15 - 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 key
        supplier - the given supplier
        Returns:
        a new JsObjSupplier