|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Number
com.sun.msv.datatype.xsd.IntegerValueType
public class IntegerValueType
Value object of "integer" type.
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()
|
Methods inherited from class java.lang.Number |
---|
byteValue, shortValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static IntegerValueType create(BigInteger bi)
public static IntegerValueType create(String nonCanonicalizedValue)
public int compareTo(Object o)
compareTo
in interface Comparable
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public int precision()
public boolean isNonPositive()
public boolean isPositive()
public boolean isNegative()
public boolean isNonNegative()
public BigInteger toBigInteger()
public double doubleValue()
doubleValue
in class Number
public float floatValue()
floatValue
in class Number
public int intValue()
intValue
in class Number
public long longValue()
longValue
in class Number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |