| |
|
| java.lang.Object net.sourceforge.sqlunit.types.UnsupportedType net.sourceforge.sqlunit.types.LongType
LongType | public class LongType extends UnsupportedType (Code) | | Models a Long type.
author: Ralph Brendler (rbrendler@users.sourceforge.net) author: Sujit Pal (spal@users.sourceforge.net) version: $Revision: 1.10 $ |
Method Summary | |
final public int | compareTo(Object obj) Returns a negative, zero or positive number according to whether this
object is smaller, equal or larger than the passed in object.
Parameters: obj - an Object of type DateType. | protected String | format(Object obj) Formats a Long type.
Parameters: obj - an Object to be converted to the IType interface. | protected Object | parse(String str) Parses a Long type.
Parameters: str - the String representation of the object. |
compareTo | final public int compareTo(Object obj)(Code) | | Returns a negative, zero or positive number according to whether this
object is smaller, equal or larger than the passed in object.
Parameters: obj - an Object of type DateType. a negative, zero or positive number. |
format | protected String format(Object obj) throws SQLUnitException(Code) | | Formats a Long type.
Parameters: obj - an Object to be converted to the IType interface. the String representation of the object. exception: SQLUnitException - if the formatting failed. |
|
|
|