org.apache.commons.convert
Class NumberConverters.LongToBigDecimal
java.lang.Object
org.apache.commons.convert.AbstractConverter<Long,BigDecimal>
org.apache.commons.convert.NumberConverters.LongToBigDecimal
- All Implemented Interfaces:
- Converter<Long,BigDecimal>, ConverterLoader
- Enclosing class:
- NumberConverters
public static class NumberConverters.LongToBigDecimal
- extends AbstractConverter<Long,BigDecimal>
An object that converts a Long to a
BigDecimal.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberConverters.LongToBigDecimal
public NumberConverters.LongToBigDecimal()
convert
public BigDecimal convert(Long obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj to T.
- Parameters:
obj - The source Object to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.