Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIsAssignableFrom (0.17 sec)

  1. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

            assertThat(ClassUtil.getWrapperClassIfPrimitive(byte.class), is(sameClass(Byte.class)));
        }
    
        /**
         *
         */
        @Test
        public void testIsAssignableFrom() {
            assertThat(ClassUtil.isAssignableFrom(Number.class, Integer.class), is(true));
            assertThat(ClassUtil.isAssignableFrom(Integer.class, Number.class), is(not(true)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top