io.vertx.up.uca.serialization.DoubleSaber Maven / Gradle / Ivy
package io.vertx.up.uca.serialization;
import java.util.function.Function;
/**
* Double type
*/
@SuppressWarnings("unchecked")
public class DoubleSaber extends DecimalSaber {
@Override
protected boolean isValid(final Class> paramType) {
return double.class == paramType || Double.class == paramType;
}
@Override
protected Function getFun() {
return Double::parseDouble;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy