public class MapFactory
extends java.lang.Object
Map implementation for a given Type.| Modifier and Type | Method and Description |
|---|---|
static java.util.Map |
create(java.lang.Class mapClass)
Creates a type-specific
Map instance. |
public static java.util.Map create(java.lang.Class mapClass)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
Map instance.mapClass - an arbitrary ClassMap instancejava.lang.InstantiationException - if could not instantiate the non-interface Mapjava.lang.IllegalAccessException - if could not instantiate the non-interface Map