Skip to main content
Package com.gpudb

Class TypeObjectMap.ClassFactory<T>

java.lang.Object
com.gpudb.TypeObjectMap.ClassFactory<T>
Type Parameters:
T - the class that the factory creates instances of
All Implemented Interfaces:
Enclosing class:

public static final class TypeObjectMap.ClassFactory<T> extends Object implements TypeObjectMap.Factory<T>
A factory that uses reflection to create new instances of the specified class. The class must have a public, parameterless constructor.
  • Constructor Details

    • ClassFactory

      public ClassFactory(Class<?> objectClass)
      Creates a TypeObjectMap.ClassFactory for the specified class. The class must have a public, parameterless constructor.
      Parameters:
      objectClass - the class that the factory creates instances of
  • Method Details