com.indeed.mph.serializers.AbstractSmartFloatSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mph-table Show documentation
Show all versions of mph-table Show documentation
Minimal Perfect Hash Tables
package com.indeed.mph.serializers;
import com.indeed.mph.SmartSerializer;
import java.io.IOException;
/**
* @author alexs
*/
public abstract class AbstractSmartFloatSerializer extends AbstractSmartSerializer {
private static final long serialVersionUID = -1167571588287234119L;
@Override
public Float parseFromString(final String s) throws IOException {
return Float.parseFloat(s);
}
}