|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.bind.v2.util.TypeCast
public class TypeCast
| Constructor Summary | |
|---|---|
TypeCast()
|
|
| Method Summary | ||
|---|---|---|
static
|
checkedCast(java.util.Map<?,?> m,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType)
Makes sure that a map contains the right type, and returns it to the desirable type. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeCast()
| Method Detail |
|---|
public static <K,V> java.util.Map<K,V> checkedCast(java.util.Map<?,?> m,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||