Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for convertClass (0.19 sec)

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

            assertThat(ret[1], is("Hoge"));
        }
    
        /**
         *
         */
        @Test
        public void testConvertClass() {
            assertThat(ClassUtil.convertClass("int"), is(sameClass(int.class)));
            assertThat(ClassUtil.convertClass("java.lang.String"), is(sameClass(String.class)));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassUtil.java

         *             クラス名が{@literal null}または空文字列だった場合
         * @throws ClassNotFoundRuntimeException
         *             {@link ClassNotFoundException}がおきた場合
         * @see #forName(String)
         */
        public static Class<?> convertClass(final String className) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
            final Class<?> clazz = primitiveNameToClassMap.get(className);
            if (clazz != null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top