|
||||||||||
| 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 Comparablepublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic int precision()
public boolean isNonPositive()
public boolean isPositive()
public boolean isNegative()
public boolean isNonNegative()
public BigInteger toBigInteger()
public double doubleValue()
doubleValue in class Numberpublic float floatValue()
floatValue in class Numberpublic int intValue()
intValue in class Numberpublic long longValue()
longValue in class Number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||