Class TypeCast
java.lang.Object
org.glassfish.jaxb.runtime.v2.util.TypeCast
- Author:
- Kohsuke Kawaguchi
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> Map <K, V> checkedCast(Map<?, ?> m, Class<K> keyType, Class<V> valueType) Makes sure that a map contains the right type, and returns it to the desirable type.
-
Method Details
-
checkedCast
Makes sure that a map contains the right type, and returns it to the desirable type.
-