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