Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testToPrimitiveInt (0.25 seconds)

  1. src/test/java/org/codelibs/core/convert/IntegerConversionUtilTest.java

        public void testToInteger() throws Exception {
            assertEquals(Integer.valueOf("1000"), IntegerConversionUtil.toInteger("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveInt() throws Exception {
            assertEquals(1000, IntegerConversionUtil.toPrimitiveInt("1,000"));
        }
    
        /**
         * @throws Exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top