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