Class UnsignedLong
java.lang.Object
java.lang.Number
org.apache.axis2.databinding.types.UnsignedLong
- All Implemented Interfaces:
Serializable,Comparable
Custom class for supporting primitive XSD data type UnsignedLong
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnsignedLong(double value) UnsignedLong(long lValue) UnsignedLong(String stValue) UnsignedLong(BigInteger value) -
Method Summary
Modifier and TypeMethodDescriptionbyteintdoublebooleanfloatinthashCode()intintValue()static booleanisValid(BigInteger value) longshorttoString()
-
Field Details
-
lValue
-
-
Constructor Details
-
UnsignedLong
public UnsignedLong() -
UnsignedLong
- Throws:
NumberFormatException
-
UnsignedLong
- Throws:
NumberFormatException
-
UnsignedLong
- Throws:
IllegalArgumentException
-
UnsignedLong
- Throws:
NumberFormatException
-
-
Method Details
-
isValid
-
toString
-
hashCode
public int hashCode() -
equals
-
byteValue
public byte byteValue() -
shortValue
public short shortValue()- Overrides:
shortValuein classNumber
-
intValue
public int intValue() -
longValue
public long longValue() -
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
compareTo
- Specified by:
compareToin interfaceComparable- Returns:
- the value 0 if the argument is an UnsignedLong numerically equal to this UnsignedLong; a value less than 0 if the argument is an UnsignedLong numerically greater than this UnsignedLong; and a value greater than 0 if the argument is an UnsignedLong numerically less than this UnsignedLong.
-