Methods Summary |
---|
public byte | byteValue()
return lValue.byteValue();
|
public int | compareTo(java.lang.Object obj)
if (lValue != null)
return lValue.compareTo(obj);
else if (equals(obj) == true)
return 0; // null == null
else
return 1; // object is greater
|
public double | doubleValue()
return lValue.doubleValue();
|
public synchronized boolean | equals(java.lang.Object obj)
if (!(obj instanceof UnsignedLong)) return false;
UnsignedLong other = (UnsignedLong) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((lValue == null && other.lValue == null) ||
(lValue != null &&
lValue.equals(other.lValue)));
__equalsCalc = null;
return _equals;
|
public float | floatValue()
return lValue.floatValue();
|
public int | hashCode()
if (lValue != null)
return lValue.hashCode();
else
return 0;
|
public int | intValue()
return lValue.intValue();
|
public static boolean | isValid(java.math.BigInteger value)
if (value.compareTo(BigInteger.ZERO) == -1 || // less than zero
value.compareTo(MAX) == 1) {
return false;
}
return true;
|
public long | longValue()
return lValue.longValue();
|
private void | setValue(java.math.BigInteger val)
if (!UnsignedLong.isValid(val)) {
throw new NumberFormatException(Messages.getMessage(
"badUnsignedLong00") +
String.valueOf(val) + "]");
}
this.lValue = val;
|
public short | shortValue()
return lValue.shortValue();
|
public java.lang.String | toString()
return lValue.toString();
|