T
- the class that the factory creates instances ofpublic static final class TypeObjectMap.ClassFactory<T> extends Object implements TypeObjectMap.Factory<T>
Constructor and Description |
---|
ClassFactory(Class<?> objectClass)
Creates a
TypeObjectMap.ClassFactory for the specified class. |
public ClassFactory(Class<?> objectClass)
TypeObjectMap.ClassFactory
for the specified class. The class
must have a public, parameterless constructor.objectClass
- the class that the factory creates instances ofpublic T newInstance()
newInstance
in interface TypeObjectMap.Factory<T>
GPUdbRuntimeException
- if an instance could not be createdCopyright © 2020. All rights reserved.