public class TypeCast
extends java.lang.Object
| Constructor | Description |
|---|---|
TypeCast() |
| Modifier and Type | Method | Description |
|---|---|---|
static <K,V> java.util.Map<K,V> |
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.
|
Copyright © 2017 Oracle Corporation. All rights reserved.