|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMeasurement
Basic user-level interface class for holding a single "measurement" with positive and negative errors (to allow for asymmetric errors). "IMeasurement" = "value" + "errorPlus" - "errorMinus"
| Method Summary | |
|---|---|
double |
errorMinus()
Get the minus error of the IMeasurement. |
double |
errorPlus()
Get the plus error of the IMeasurement. |
void |
setErrorMinus(double errorMinus)
Set the minus error of the IMeasurement. |
void |
setErrorPlus(double errorPlus)
Set the plus error of the IMeasurement. |
void |
setValue(double value)
Set the value of the IMeasurement. |
double |
value()
Get the value of the IMeasurement. |
| Method Detail |
|---|
double value()
double errorPlus()
double errorMinus()
void setValue(double value)
throws IllegalArgumentException
value - The new value of the IMeasurement.
IllegalArgumentException - If the value cannot be set.
void setErrorPlus(double errorPlus)
throws IllegalArgumentException
value - The new plus error of the IMeasurement.
IllegalArgumentException - If the error cannot be set or it is negative.
void setErrorMinus(double errorMinus)
throws IllegalArgumentException
value - The new minus error of the IMeasurement.
IllegalArgumentException - If the error cannot be set or it is negative.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||