javax.rad.type
Class FloatType

java.lang.Object
  extended by javax.rad.type.AbstractType<T>
      extended by javax.rad.type.AbstractComparableType<T>
          extended by javax.rad.type.AbstractNumberType<Float>
              extended by javax.rad.type.FloatType
All Implemented Interfaces:
IType<Float>

public class FloatType
extends AbstractNumberType<Float>

The FloatType is a platform independent definition of float.


Field Summary
 
Fields inherited from class javax.rad.type.AbstractNumberType
maxValue, minValue, precision
 
Fields inherited from interface javax.rad.type.IType
UNKNOWN_TYPE
 
Constructor Summary
FloatType()
          Constructs a new FloatType.
 
Method Summary
 Class<Float> getTypeClass()
          Returns the class used by this type.
 Float valueOf(Object pObject)
          Converts the object to an Object which is an instance of type class.
 
Methods inherited from class javax.rad.type.AbstractNumberType
getMaxValue, getMinValue, getPrecision, setMaxValue, setMinValue, setPrecision, validatedValueOf
 
Methods inherited from class javax.rad.type.AbstractComparableType
compareTo
 
Methods inherited from class javax.rad.type.AbstractType
equals, getTypeFromClass, getTypeFromObject, hashCode, registerType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatType

public FloatType()
Constructs a new FloatType.

Method Detail

getTypeClass

public Class<Float> getTypeClass()
Returns the class used by this type.

Returns:
the class used by this type.

valueOf

public Float valueOf(Object pObject)
Converts the object to an Object which is an instance of type class.

Specified by:
valueOf in interface IType<Float>
Overrides:
valueOf in class AbstractType<Float>
Parameters:
pObject - the Object to convert
Returns:
the Object which is an instance of type class.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.