GigaSpaces XAP 10.0.1 API

org.openspaces.persistency.cassandra.meta.types
Class PrimitiveClassUtils

java.lang.Object
  extended by 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

Constructor Summary
PrimitiveClassUtils()
           
 
Method Summary
static Class<?> getPrimitive(String primitiveName)
           
static boolean isPrimitive(String typeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveClassUtils

public PrimitiveClassUtils()
Method Detail

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.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.