All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cucumber.runtime.xstream.IntegerConverter Maven / Gradle / Ivy

package cucumber.runtime.xstream;

import java.util.Locale;

class IntegerConverter extends ConverterWithNumberFormat {

    public IntegerConverter(Locale locale) {
        super(locale, new Class[]{Integer.class, Integer.TYPE});
    }

    @Override
    protected Integer downcast(Number argument) {
        return argument.intValue();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy