org.apache.axis2.databinding.types
Class UnsignedLong
java.lang.Object
java.lang.Number
org.apache.axis2.databinding.types.UnsignedLong
- All Implemented Interfaces:
- Serializable, Comparable
public class UnsignedLong
- extends Number
- implements Comparable
Custom class for supporting primitive XSD data type UnsignedLong
- See Also:
- XML Schema 3.3.21,
Serialized Form
lValue
protected BigInteger lValue
UnsignedLong
public UnsignedLong()
UnsignedLong
public UnsignedLong(double value)
throws NumberFormatException
- Throws:
NumberFormatException
UnsignedLong
public UnsignedLong(BigInteger value)
throws NumberFormatException
- Throws:
NumberFormatException
UnsignedLong
public UnsignedLong(long lValue)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
UnsignedLong
public UnsignedLong(String stValue)
throws NumberFormatException
- Throws:
NumberFormatException
isValid
public static boolean isValid(BigInteger value)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
byteValue
public byte byteValue()
- Overrides:
byteValue
in class Number
shortValue
public short shortValue()
- Overrides:
shortValue
in class Number
intValue
public int intValue()
- Specified by:
intValue
in class Number
longValue
public long longValue()
- Specified by:
longValue
in class Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in class Number
floatValue
public float floatValue()
- Specified by:
floatValue
in class Number
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
- 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.
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.