javax.rad.type
Class IntegerType
java.lang.Object
javax.rad.type.AbstractType<T>
javax.rad.type.AbstractComparableType<T>
javax.rad.type.AbstractNumberType<Integer>
javax.rad.type.IntegerType
- All Implemented Interfaces:
- IType<Integer>
public class IntegerType
- extends AbstractNumberType<Integer>
The IntegerType
is a platform independent definition of integer.
Constructor Summary |
IntegerType()
Constructs a new IntegerType . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerType
public IntegerType()
- Constructs a new
IntegerType
.
getTypeClass
public Class<Integer> getTypeClass()
- Returns the class used by this type.
- Returns:
- the class used by this type.
valueOf
public Integer valueOf(Object pObject)
- Converts the object to an
Object
which is an instance of type class.
- Specified by:
valueOf
in interface IType<Integer>
- Overrides:
valueOf
in class AbstractType<Integer>
- Parameters:
pObject
- the Object
to convert
- Returns:
- the
Object
which is an instance of type class.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.