<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 組件源碼 ``` /** * <b>方法描述:</b> 取容器深度 <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2018-05-11 11:53:55 <br/> * * @param varobj * 入參|輸入對象|{@link Object} * @param count * 出參|容器記錄條數|{@link int} * @return 0 失敗<br/> * 1 成功<br/> */ @Component(label = "取容器深度", style = "判斷型", type = "同步組件", comment = "獲取容器變量或數組的大小", version = "1.0.0", deprecated = false, author = "admin", date = "2018-05-11 11:53:55") @InParams(param = {@Param(name = "varobj", comment = "輸入對象", type = Object.class)}) @OutParams(param = {@Param(name = "count", comment = "容器記錄條數", type = int.class)}) @Returns(returns = {@Return(id = "0", desp = "失敗"), @Return(id = "1", desp = "成功")}) public static ResultBase P_itemCount(Object varobj) { if (varobj == null) { return ResultBase.newFailureResult("TPTC2008", "itemCount-參數不能為空"); } String strClz = varobj.getClass().getSimpleName(); int nRet = 0; if (varobj instanceof java.util.Map) { nRet = ((java.util.Map)varobj).size(); } else if (varobj instanceof java.util.Collection) { nRet = ((java.util.Collection)varobj).size(); } else if (varobj instanceof String) { nRet = ((String)varobj).length(); } else if ("byte[]".equals(strClz)) { nRet = ((byte[])varobj).length; } else if ("short[]".equals(strClz)) { nRet = ((short[])varobj).length; } else if ("int[]".equals(strClz)) { nRet = ((int[])varobj).length; } else if ("long[]".equals(strClz)) { nRet = ((long[])varobj).length; } else if ("char[]".equals(strClz)) { nRet = ((char[])varobj).length; } else if ("float[]".equals(strClz)) { nRet = ((float[])varobj).length; } else if ("double[]".equals(strClz)) { nRet = ((double[])varobj).length; } else if ("boolean[]".equals(strClz)) { nRet = ((boolean[])varobj).length; } else if (varobj.getClass().getName().charAt(0) == '[') { nRet = ((Object[])varobj).length; } return ResultBase.newSuccessResult(nRet); } ``` # 交易中組件使用方式 ![](https://img.kancloud.cn/02/d8/02d883dc2f0ccf41f0581d7a2fd1b767_1869x892.png) # 參數說明及示例 ## 入口參數 輸入對象:輸入一個內部容器變量或者數組,示例: `[1,2,3,4,5]` ## 出口參數 容器記錄條數:獲取容器變量或數組的大小,示例: `__INNER__["result"]`
                  <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>

                              哎呀哎呀视频在线观看