Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.util.callback
Class PrimitiveUtil

java.lang.Object
  extended by org.hyperic.util.callback.PrimitiveUtil

public final class PrimitiveUtil
extends java.lang.Object


Method Summary
static java.lang.Object getBasicValue(java.lang.Class c)
          Get a basic value for a class, given the class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBasicValue

public static java.lang.Object getBasicValue(java.lang.Class c)
Get a basic value for a class, given the class. If the class is not a primitive type, null will be returned (as null is a valid object for any non-primitive class). If the class represents a primitive, a non-null value will be returned (unless the class is void)

Parameters:
c - Class to get the basic value for

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.