Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 1001 (0.14 sec)

  1. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            bean.aaa = "1,000";
            final Bean2 bean2 = new Bean2();
            BeanUtil.copyBeanToBean(bean, bean2, converter(new NumberConverter("#,##0")));
            assertThat(bean2.aaa, is(new Integer(1000)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToMap() throws Exception {
            final SrcBean src = new SrcBean();
            src.aaa = "aaa";
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/xml/DomUtil.java

         * @return 変換された文字列
         */
        public static String toString(final Document document) {
            assertArgumentNotNull("document", document);
    
            final StringBuilder buf = new StringBuilder(1000);
            appendElement(document.getDocumentElement(), buf);
            return new String(buf);
        }
    
        /**
         * {@link Element}を文字列に変換します。
         *
         * @param element
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex2() throws Exception {
            assertEquals("0001", StringUtil.toHex(1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAppendHex() throws Exception {
            final StringBuilder buf = new StringBuilder();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top