public interface QTY extends ANY
The quantity data type is an abstract generalization for all data types (1) whose value set has an order relation (less-or-equal) and (2) where difference is defined in all of the data type's totally ordered value subsets. The quantity type abstraction is needed in defining certain other types, such as the interval and the probability distribution.
| Modifier and Type | Method and Description |
|---|---|
BL |
compares(QTY x)
A predicate indicating if this value and the operand can be compared as
to which is greater than the other.
|
TYPE |
diffType()
The type of the difference between 2 values of a specific QTY data type.
|
BL |
greaterOrEqual(QTY x)
A predicate expressing an order relation that is reflexive, asymmetric
and transitive, between this quantity and another quantity.
|
BL |
greaterThan(QTY x)
A predicate expressing an order relation that is asymmetric and
transitive, between this quantity and another quantity.
|
BL |
isZero()
The neutral element in the difference and addition operations, i.e., if a
quantity is zero, addition to, or subtraction from any other comparable
quantity will result in that other quantity.
|
BL |
lessOrEqual(QTY x)
A predicate expressing an order relation that is reflexive, asymmetric
and transitive, between this quantity and another quantity.
|
BL |
lessThan(QTY x)
A predicate expressing an order relation that is asymmetric and
transitive, between this quantity and another quantity.
|
QTY |
minus(QTY x)
A quantity expressing the "distance" of this quantity from the operand
quantity, that must be comparable.
|
QTY |
plus(QTY x)
The sum of this quantity and its operand.
|
dataType, equal, isNull, nonNull, notApplicable, nullFlavor, other, unknownBL lessOrEqual(QTY x)
BL compares(QTY x)
TYPE diffType()
QTY minus(QTY x)
QTY plus(QTY x)
BL isZero()
BL lessThan(QTY x)
BL greaterOrEqual(QTY x)
HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved