Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary
`protected DecimalValue` | `value`

Constructor Summary
`DecimalValue.DecimalComparable(DecimalValue value)`

Method Summary
`BigDecimal` | `asBigDecimal()`
`int` | `compareTo(Object o)`
`boolean` | `equals(Object o)`
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### value

    protected DecimalValue value

Constructor Detail

### DecimalValue.DecimalComparable

    public DecimalValue.DecimalComparable(DecimalValue value)

Method Detail

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.