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

com.thegoate.utils.fill.serialize.nullable.primitive.NullableDouble Maven / Gradle / Ivy

There is a newer version: 0.15.17.202312051550
Show newest version
package com.thegoate.utils.fill.serialize.nullable.primitive;

import com.thegoate.utils.fill.serialize.GoatePojo;
import com.thegoate.utils.fill.serialize.Nanny;

@GoatePojo(forceCast = true)
public class NullableDouble extends Nanny {

	private double value;

	public NullableDouble(){
	}
	public NullableDouble(Object value){
		if(value != null){
			this.value = Double.parseDouble(""+value);
		}
	}

	public static NullableDouble build(Object value){
		return new NullableDouble(value);
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy