javax.rad.type
Class FloatType
java.lang.Object
javax.rad.type.AbstractType<T>
javax.rad.type.AbstractComparableType<T>
javax.rad.type.AbstractNumberType<Float>
javax.rad.type.FloatType
- All Implemented Interfaces:
- IType<Float>
public class FloatType
- extends AbstractNumberType<Float>
The FloatType
is a platform independent definition of float.
Constructor Summary |
FloatType()
Constructs a new FloatType . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatType
public FloatType()
- Constructs a new
FloatType
.
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.