<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                **1.com.nobb.bean.CollectionBean** ~~~ package com.nobb.bean; import java.util.*; public class CollectionBean { private List list; private Set set; private Object[] array; private Map map; private Properties properties; ~~~ **2.xml配置** ~~~ <bean name="car" class="com.nobb.bean.Car"> <property name="name" value="馬薩拉蒂"></property> <property name="color" value="白色"></property> </bean> <bean name="cb" class="com.nobb.bean.CollectionBean"> <property name="list"> <!--定義為list--> <list> <value>tom</value> <value>jack</value> <ref bean="car"></ref> </list> </property> <property name="set"> <!--定義為set--> <set> <value>jack</value> <value>rose</value> <!--允許設置 但只顯示一個--> <ref bean="car"></ref> <ref bean="car"></ref> </set> </property> <property name="array"> <!--定義為array--> <array> <value>tom</value> <value>jack</value> <ref bean="car"></ref> <ref bean="car"></ref> </array> </property> <property name="map"> <!-- 使用entry元素表示一個鍵值對 key:字符串類型鍵 key-ref:對象類型鍵 value:字符串類型值 value-ref:對象類型值 --> <map> <entry key="name" value="tom"/> <entry key="age" value="11"/> <entry key="car" value-ref="car"/> <entry key-ref="car" value-ref="car"/> </map> </property> <property name="properties"> <props> <prop key="driverClass">com.mysql.jdbc.Driver</prop> <prop key="username">root</prop> <prop key="password">123</prop> </props> </property> </bean> ~~~ **3.代碼測試** ~~~ ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml"); CollectionBean cb = (CollectionBean)ac.getBean("cb"); System.out.println(cb); ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看