Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToList (0.19 sec)

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

        public void testToObjectArray_NoArray() throws Exception {
            ArrayUtil.toObjectArray("a");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToList() throws Exception {
            final Object a = new int[] { 1, 5 };
            final List<Integer> list = ArrayUtil.toList(a);
            assertThat(list.get(0), is(Integer.valueOf(1)));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top