Method compareTo(Double anotherDouble)
Return type: int
Member of:
java.lang.Double
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
compare = quantityValue.compareTo(Double.valueOf(productPriceCond.getString("condValue")));
2
if ( timeStampDbl.compareTo( (Double) cnm.timeStamp.get(ii)) > 0)
3
if (0 > value.compareTo(min)) {
4
compare = orderSubTotal.compareTo(Double.valueOf(productPromoCond.getString("condValue")));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.