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

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

package cucumber.runtime.xstream;

import java.util.Locale;

class ByteConverter extends ConverterWithNumberFormat {

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

    @Override
    protected Byte downcast(Number argument) {
        return argument.byteValue();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy