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

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

There is a newer version: 1.2.6
Show newest version
package cucumber.runtime.xstream;

import java.math.BigInteger;
import java.util.Locale;

class BigIntegerConverter extends ConverterWithNumberFormat {

    public BigIntegerConverter(Locale locale) {
        super(locale, new Class[]{BigInteger.class});
    }

    @Override
    protected BigInteger downcast(Number argument) {
        return BigInteger.valueOf(argument.longValue());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy