org.openspaces.persistency.cassandra.meta.types
Class PrimitiveClassUtils
java.lang.Object
org.openspaces.persistency.cassandra.meta.types.PrimitiveClassUtils
public class PrimitiveClassUtils
- extends Object
Utility class for testing wheter a given type is a primite type
and to obtain reference to a primitive type Class
instance by name.
- Since:
- 9.1.1
- Author:
- Dan Kilman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrimitiveClassUtils
public PrimitiveClassUtils()
isPrimitive
public static boolean isPrimitive(String typeName)
- Parameters:
typeName
- the type name
- Returns:
true
if this name denotes a primite type
getPrimitive
public static Class<?> getPrimitive(String primitiveName)
- Parameters:
primitiveName
- the primite type name
- Returns:
- the
Class
instance matching this primitive type
or null of primitiveName does not denote a primitve type.
Copyright © GigaSpaces.