public final class BigDecimalToLongConverter extends Object implements Convertable
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object value)
Converts the supplied value to a Long.
|
static BigDecimalToLongConverter |
getInstance()
Gets the single instance of this converter.
|
public static BigDecimalToLongConverter getInstance()
public Object convert(Object value)
convert in interface Convertablevalue - The value to convert to a Long.ClassCastException - When the supplied value is not a Long.BigDecimal.longValue()Copyright © 2008–2017. All rights reserved.