Package net.sf.saxon.value
Class BigDecimalValue.DecimalComparable
- java.lang.Object
-
- net.sf.saxon.value.BigDecimalValue.DecimalComparable
-
- All Implemented Interfaces:
Comparable
- Enclosing class:
- BigDecimalValue
protected static class BigDecimalValue.DecimalComparable extends Object implements Comparable
A Comparable that performs comparison of a DecimalValue either with another DecimalValue or with some other representation of an XPath numeric value
-
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimalValuevalue
-
Constructor Summary
Constructors Constructor Description DecimalComparable(BigDecimalValue value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalasBigDecimal()intcompareTo(Object o)booleanequals(Object o)inthashCode()
-
-
-
Field Detail
-
value
protected BigDecimalValue value
-
-
Constructor Detail
-
DecimalComparable
public DecimalComparable(BigDecimalValue value)
-
-
Method Detail
-
asBigDecimal
public BigDecimal asBigDecimal()
-
compareTo
public int compareTo(Object o)
- Specified by:
compareToin interfaceComparable
-
-