public static class NumericConverters.BigDecimalToDoubleConverter extends BidirectionalConverter<C,D>
BigDecimal.doubleValue()destinationType, mapperFacade, sourceType| Constructor and Description |
|---|
BigDecimalToDoubleConverter() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
convertFrom(Double source,
Type<BigDecimal> destinationType,
MappingContext context) |
Double |
convertTo(BigDecimal source,
Type<Double> destinationType,
MappingContext context) |
boolean |
equals(Object o) |
BidirectionalConverter<D,C> |
reverse() |
String |
toString() |
canConvert, convertgetAType, getBType, hashCode, setMapperFacadeclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetMapperFacadegetAType, getBTypepublic Double convertTo(BigDecimal source, Type<Double> destinationType, MappingContext context)
convertTo in class BidirectionalConverter<BigDecimal,Double>public BigDecimal convertFrom(Double source, Type<BigDecimal> destinationType, MappingContext context)
convertFrom in class BidirectionalConverter<BigDecimal,Double>public BidirectionalConverter<D,C> reverse()
reverse in class BidirectionalConverter<C,D>public String toString()
toString in class BidirectionalConverter<C,D>public boolean equals(Object o)
equals in class CustomConverter<Object,Object>Copyright © 2019 Glasnost. All rights reserved.