cucumber.runtime.xstream.DoubleConverter Maven / Gradle / Ivy
package cucumber.runtime.xstream;
import java.util.Locale;
class DoubleConverter extends ConverterWithNumberFormat {
public DoubleConverter(Locale locale) {
super(locale, new Class[]{Double.class, Double.TYPE});
}
@Override
protected Double downcast(Number argument) {
return argument.doubleValue();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy