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