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