Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToObjectArray (0.18 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            final int[] num = (int[]) o;
            assertArrayEquals(new int[] { 1, 2, 3 }, num);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToObjectArray() throws Exception {
            final Object[] a = ArrayUtil.toObjectArray(new int[] { 1, 5, 2 });
            assertArrayEquals(new Integer[] { new Integer(1), new Integer(5), new Integer(2) }, a);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top