- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getValueTypeOfMap (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true)); assertThat(GenericsUtil.getKeyTypeOfMap(t1), is(sameClass(String.class))); assertThat(GenericsUtil.getValueTypeOfMap(t1), is(sameClass(Object.class))); final Method m2 = MapType.class.getMethod("mapOfClassToString"); final Type t2 = m2.getGenericReturnType();
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
assertArgumentNotNull("method", method); final Type[] parameterTypes = method.getGenericParameterTypes(); return GenericsUtil.getRawClass(GenericsUtil.getValueTypeOfMap(parameterTypes[position])); } /** * Returns the value type of the parameterized map declared as the method's return type. * * @param method
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.6K bytes - Click Count (0)