- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for convertClass (0.19 sec)
-
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) -
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)