net.sf.saxon.value
Class DecimalValue.DecimalComparable
java.lang.Object
net.sf.saxon.value.DecimalValue.DecimalComparable
- All Implemented Interfaces:
- Comparable
- Enclosing class:
- DecimalValue
protected static class DecimalValue.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
value
protected DecimalValue value
DecimalValue.DecimalComparable
public DecimalValue.DecimalComparable(DecimalValue value)
asBigDecimal
public BigDecimal asBigDecimal()
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.