edu.iris.dmc.seed.control.station.Number Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-4-seed Show documentation
Show all versions of java-4-seed Show documentation
Java API to work with seismic dataless seed
The newest version!
package edu.iris.dmc.seed.control.station;
public class Number {
private Double value;
private Double error;
public Number() {
}
public Number(Double value, Double error) {
this.value = value;
this.error = error;
}
public Double getValue() {
return value;
}
public void setValue(Double value) {
this.value = value;
}
public Double getError() {
if(error !=null) {
return error;
}else {
error=0.0;
}
return error;
}
public void setError(Double error) {
this.error = error;
}
@Override
public String toString() {
return "Number [value=" + value + ", error=" + error + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy