final class TypeFactory extends java.lang.Object implements IPoolFactory<IMCType>
IMCType| Modifier and Type | Field and Description |
|---|---|
private int |
m_nameIndex |
private CanonicalConstantMap<IMCType> |
typeMap |
| Constructor and Description |
|---|
TypeFactory(ValueDescriptor[] descriptors,
CanonicalConstantMap<IMCType> typeMap) |
| Modifier and Type | Method and Description |
|---|---|
IMCType |
createObject(long identifier,
java.lang.Object s)
Creates a replacement object for a value in a pool
|
ContentType<IMCType> |
getContentType() |
private final int m_nameIndex
private final CanonicalConstantMap<IMCType> typeMap
public TypeFactory(ValueDescriptor[] descriptors, CanonicalConstantMap<IMCType> typeMap)
public IMCType createObject(long identifier, java.lang.Object s)
IPoolFactorycreateObject in interface IPoolFactory<IMCType>identifier - the identifier that is used to look up the objectpublic ContentType<IMCType> getContentType()
getContentType in interface IPoolFactory<IMCType>