All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertDouble

java.lang.Object
   |
   +----org.xmlmiddleware.conversions.ConvertDouble

public class ConvertDouble
extends Object
Converts from doubles to other data types.

The following rules from the ODBC specification are followed; the JDBC specification does not address these in spite of allowing the conversions they apply to:

To convert to/from String, use an implementation of the StringFormatter interface.

Version:
2.0
Author:
Ronald Bourret, 2001

Constructor Index

 o ConvertDouble()

Method Index

 o toBigDecimal(Double)
 o toBigDecimal(double)
 o toBoolean(Double)
 o toBoolean(double)
 o toBooleanObject(double)
 o toBooleanObject(Double)
 o toByte(Double)
 o toByte(double)
 o toByteObject(Double)
 o toByteObject(double)
 o toDouble(Double)
 o toDouble(double)
 o toDoubleObject(Double)
 o toDoubleObject(double)
 o toFloat(double)
 o toFloat(Double)
 o toFloatObject(Double)
 o toFloatObject(double)
 o toInteger(Double)
 o toInteger(double)
 o toIntegerObject(double)
 o toIntegerObject(Double)
 o toLong(double)
 o toLong(Double)
 o toLongObject(Double)
 o toLongObject(double)
 o toShort(Double)
 o toShort(double)
 o toShortObject(double)
 o toShortObject(Double)

Constructors

 o ConvertDouble
 public ConvertDouble()

Methods

 o toDouble
 public static double toDouble(double d)
 o toDouble
 public static double toDouble(Double d)
 o toDoubleObject
 public static Double toDoubleObject(double d)
 o toDoubleObject
 public static Double toDoubleObject(Double d)
 o toFloat
 public static float toFloat(double d) throws XMLMiddlewareException
 o toFloat
 public static float toFloat(Double d) throws XMLMiddlewareException
 o toFloatObject
 public static Float toFloatObject(double d) throws XMLMiddlewareException
 o toFloatObject
 public static Float toFloatObject(Double d) throws XMLMiddlewareException
 o toBigDecimal
 public static BigDecimal toBigDecimal(double d)
 o toBigDecimal
 public static BigDecimal toBigDecimal(Double d)
 o toLong
 public static long toLong(double d) throws XMLMiddlewareException
 o toLong
 public static long toLong(Double d) throws XMLMiddlewareException
 o toLongObject
 public static Long toLongObject(double d) throws XMLMiddlewareException
 o toLongObject
 public static Long toLongObject(Double d) throws XMLMiddlewareException
 o toInteger
 public static int toInteger(double d) throws XMLMiddlewareException
 o toInteger
 public static int toInteger(Double d) throws XMLMiddlewareException
 o toIntegerObject
 public static Integer toIntegerObject(double d) throws XMLMiddlewareException
 o toIntegerObject
 public static Integer toIntegerObject(Double d) throws XMLMiddlewareException
 o toShort
 public static short toShort(double d) throws XMLMiddlewareException
 o toShort
 public static short toShort(Double d) throws XMLMiddlewareException
 o toShortObject
 public static Short toShortObject(double d) throws XMLMiddlewareException
 o toShortObject
 public static Short toShortObject(Double d) throws XMLMiddlewareException
 o toByte
 public static byte toByte(double d) throws XMLMiddlewareException
 o toByte
 public static byte toByte(Double d) throws XMLMiddlewareException
 o toByteObject
 public static Byte toByteObject(double d) throws XMLMiddlewareException
 o toByteObject
 public static Byte toByteObject(Double d) throws XMLMiddlewareException
 o toBoolean
 public static boolean toBoolean(double d) throws XMLMiddlewareException
 o toBoolean
 public static boolean toBoolean(Double d) throws XMLMiddlewareException
 o toBooleanObject
 public static Boolean toBooleanObject(double d) throws XMLMiddlewareException
 o toBooleanObject
 public static Boolean toBooleanObject(Double d) throws XMLMiddlewareException

All Packages  Class Hierarchy  This Package  Previous  Next  Index