gnu.kawa.xml

Class XInteger

Implemented Interfaces:
Comparable, Externalizable

public class XInteger
extends IntNum

An integer that is an instance of a more specific integer type. I.e. it has a type annotation and restrictions, in the XML Schema sense.

Field Summary

Fields inherited from class gnu.math.IntNum

ival, words

Fields inherited from class gnu.math.Numeric

CEILING, FLOOR, ROUND, TRUNCATE

Method Summary

XIntegerType
getIntegerType()

Methods inherited from class gnu.math.IntNum

abs, add, add, add, add, add, alloc, asBigDecimal, asBigInteger, canonicalize, compare, compare, compare, denominator, div, divide, divide, doubleValue, equals, equals, format, gcd, gcd, getAbsolute, hashCode, intLength, intValue, intValue, isMinusOne, isNegative, isOdd, isOne, isZero, lcm, longValue, make, make, make, make, makeU, minusOne, modulo, mul, neg, neg, negate, numerator, one, power, power, quotient, quotient, readExternal, readResolve, realloc, remainder, roundToDouble, set, set, set, set, setAdd, setAdd, setNegative, setNegative, shift, sign, sub, ten, times, times, times, toExactInt, toInt, toString, valueOf, valueOf, valueOf, valueOf, wordsNeeded, writeExternal, zero

Methods inherited from class gnu.math.RatNum

add, compare, denominator, divide, equals, equals, infinity, isExact, isZero, make, numerator, power, rationalize, times, toExact, toExactInt, toInt

Methods inherited from class gnu.math.RealNum

abs, add, add, asBigDecimal, compareTo, div, divide, exp, im, isNegative, isZero, log, max, min, mul, re, rneg, sign, sin, sqrt, times, toExact, toExactInt, toExactInt, toExactInt, toInt, toInt, toScaledInt, toScaledInt, toScaledInt, toStringDecimal, toStringScientific, toStringScientific, toStringScientific, toStringScientific

Methods inherited from class gnu.math.Complex

abs, add, add, addReversed, angle, compare, compare, div, divReversed, divide, doubleImagValue, doubleRealValue, doubleValue, equals, equals, exp, imMinusOne, imOne, isExact, isZero, log, longValue, make, make, mul, mulReversed, neg, neg, number, polar, polar, power, sqrt, times, toString

Methods inherited from class gnu.math.Quantity

abs, add, add, addReversed, compare, compare, compareReversed, dimensions, div, divReversed, divide, doubleImagValue, doubleValue, im, imValue, make, make, make, mul, mulReversed, neg, number, re, reValue, times, toString, unit

Methods inherited from class gnu.math.Numeric

abs, add, add, addReversed, compare, compareReversed, div, divReversed, div_inv, equals, floatValue, geq, grt, intValue, isExact, isZero, longValue, mul, mulReversed, mul_ident, neg, power, sub, toString, toString

Method Details

getIntegerType

public XIntegerType getIntegerType()