Package com.sun.xml.bind.v2.util
Class TypeCast
- java.lang.Object
-
- com.sun.xml.bind.v2.util.TypeCast
-
public class TypeCast extends Object
- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description TypeCast()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <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.
-