Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getActualKeyClassOfMap (0.79 sec)

  1. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * @param map
         *            the map that contains the type variables and type arguments
         * @return the actual key type of the map, or null if not a parameterized map
         */
        public static Class<?> getActualKeyClassOfMap(final Type type, final Map<TypeVariable<?>, Type> map) {
            if (!isTypeOf(type, Map.class)) {
                return null;
            }
            return getActualClass(getGenericParameter(type, 0), map);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
Back to top