de.fraunhofer.ipsi.xpathDatatypes
Interface Numeric

All Superinterfaces:
java.lang.Comparable<Numeric>
All Known Implementing Classes:
XS_Byte, XS_Decimal, XS_Double, XS_Float, XS_Int, XS_Integer, XS_Long, XS_NegativeInteger, XS_NonNegativeInteger, XS_NonPositiveInteger, XS_PositiveInteger, XS_Short, XS_UnsignedByte, XS_UnsignedInt, XS_UnsignedLong, XS_UnsignedShort

public interface Numeric
extends java.lang.Comparable<Numeric>


Method Summary
 Numeric abs()
          Method abs
 Numeric add(Numeric a)
          Method add
 Numeric ceiling()
          Method ceiling
 Numeric divide(Numeric a)
          Method divide
 Numeric floor()
          Method floor
 Numeric idivide(Numeric a)
          Method idivide
 Numeric mod(Numeric a)
          Method mod
 Numeric multiply(Numeric a)
          Method multiply
 Numeric negate()
          Method negate
 Numeric round()
          Method round
 Numeric roundHalfToEven(int precision)
          Method roundHalfToEven
 Numeric subtract(Numeric a)
          Method subtract
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

add

Numeric add(Numeric a)
Method add

Parameters:
a - a Numeric
Returns:
a Numeric

subtract

Numeric subtract(Numeric a)
Method subtract

Parameters:
a - a Numeric
Returns:
a Numeric

multiply

Numeric multiply(Numeric a)
Method multiply

Parameters:
a - a Numeric
Returns:
a Numeric

divide

Numeric divide(Numeric a)
Method divide

Parameters:
a - a Numeric
Returns:
a Numeric

idivide

Numeric idivide(Numeric a)
Method idivide

Parameters:
a - a Numeric
Returns:
a Numeric

mod

Numeric mod(Numeric a)
Method mod

Parameters:
a - a Numeric
Returns:
a Numeric

negate

Numeric negate()
Method negate

Returns:
a Numeric

abs

Numeric abs()
Method abs

Returns:
a Numeric

floor

Numeric floor()
Method floor

Returns:
a Numeric

ceiling

Numeric ceiling()
Method ceiling

Returns:
a Numeric

round

Numeric round()
Method round

Returns:
a Numeric

roundHalfToEven

Numeric roundHalfToEven(int precision)
Method roundHalfToEven

Parameters:
precision - an int
Returns:
a Numeric