public static < T > PrimitiveObjectFactory < T > create ( final Class < ? extends T > valueClass ) { checkNotNull ( valueClass , "Value class cannot be null" ) ; checkArgument ( valueClass . isPrimitive ( ) , "Value class '" + valueClass . getName ( ) + "' is not primitive" ) ; return new PrimitiveObjectFactory < T > ( valueClass ) ; }
Create a primitive object factory for the specified primitive class