- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getValueClassOfMap (0.08 sec)
-
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
PropertyDesc pd = bd.getPropertyDesc("baz"); assertThat(pd.isParameterized(), is(true)); assertThat(pd.getKeyClassOfMap(), is(sameClass(String.class))); assertThat(pd.getValueClassOfMap(), is(sameClass(Date.class))); ParameterizedClassDesc pcd = pd.getParameterizedClassDesc(); assertThat(pcd.getRawClass(), is(sameClass(Map.class))); assertThat(pcd.getArguments().length, is(2));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
if (pcd == null) { return null; } return pcd.getRawClass(); } @Override public Class<?> getValueClassOfMap() { if (!Map.class.isAssignableFrom(propertyType) || !isParameterized()) { return null; } final ParameterizedClassDesc pcd = parameterizedClassDesc.getArguments()[1];
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0)