public final class JMapType extends JComponentizedType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
_instanceName
Name of the actual map instance to be used, e.g.
|
Constructor and Description |
---|
JMapType(java.lang.String typeName,
JType componentType,
boolean useJava50)
Creates an instance of a map type, of type 'mapName'.
|
JMapType(java.lang.String typeName,
java.lang.String instanceName,
JType componentType,
boolean useJava50)
Creates an instance of a map type, of type 'mapName'.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInstanceName()
Returns the instance name of this map type.
|
java.lang.String |
toString()
Returns the String representation of this JType, which is
simply the name of this type.
|
getComponentType, isUseJava50
changePackage, createArray, getLocalName, getName, isArray, isPrimitive
private java.lang.String _instanceName
public JMapType(java.lang.String typeName, JType componentType, boolean useJava50)
typeName
- Name of the map type interface.componentType
- Component type.useJava50
- True if Java 5.0 should be used.public JMapType(java.lang.String typeName, java.lang.String instanceName, JType componentType, boolean useJava50)
typeName
- Name of the map type interface.instanceName
- Name of the actual map type instance.componentType
- Component type.useJava50
- True if Java 5.0 should be used.