com.sun.msv.datatype.xsd
public class IntegerValueType extends Number implements Comparable, Serializable
| Method Summary | |
|---|---|
| int | compareTo(Object o) |
| static IntegerValueType | create(BigInteger bi)
translates a BigInteger to an IntegerValueType. |
| static IntegerValueType | create(String nonCanonicalizedValue)
translates non-canonicalized representation of an integer into
an IntegerValueType.
|
| double | doubleValue() |
| boolean | equals(Object o) |
| float | floatValue() |
| int | hashCode() |
| int | intValue() |
| boolean | isNegative() returns true if the value if negative (less than zero) |
| boolean | isNonNegative() returns true if the value if non-negative (greater than or equal to zero) |
| boolean | isNonPositive() returns true if the value if non-positive (less than or equal to zero) |
| boolean | isPositive() returns true if the value if positive (greater than zero) |
| long | longValue() |
| int | precision() |
| BigInteger | toBigInteger() converts to BigInteger. |
| String | toString() |
Returns: 1 if this value is bigger than rhs 0 if the values are the same -1 if rhs is bigger than this.
Returns: null when the parameter is not even valid with respect to the lexical space of "integer" type specified in XML Schema datatype spec.