public static class UnitsRouter.ConverterPreference extends Object
foot+inch and the
limit equals 3.0, thus means the converter should not convert to a value less than 3.0 feet.
NOTE:
if the limit doest not has a value (i.e. std::numeric_limits<double>::lowest()),
this mean there is no limit for the converter.
| Constructor and Description |
|---|
ConverterPreference(MeasureUnitImpl source,
MeasureUnitImpl targetUnit,
BigDecimal limit,
String precision,
ConversionRates conversionRates) |
ConverterPreference(MeasureUnitImpl source,
MeasureUnitImpl targetUnit,
String precision,
ConversionRates conversionRates) |
public ConverterPreference(MeasureUnitImpl source, MeasureUnitImpl targetUnit, String precision, ConversionRates conversionRates)
public ConverterPreference(MeasureUnitImpl source, MeasureUnitImpl targetUnit, BigDecimal limit, String precision, ConversionRates conversionRates)