|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tuneology.sane.SaneRange
This constraint is applicable to integer and fixed-point valued options only. It constrains the option value to a possibly quantized range of numbers. All three members in this structure are interpreted according to the option value type (integer or fixed-point). Members min and max specify the minimum and maximum values, respectively. If member quant is non-zero, it specifies the quantization value. If l is the minimum value, u the maximum value and q the (non-zero) quantization of a range, then the legal values are v=k*q+l for all non-negative integer values of k such that v<=u.
Method Summary | |
int |
getMax()
maximum (element) value |
int |
getMin()
minimum (element) value |
int |
getQuant()
If non-zero, specifies the quantization value (increment). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getMin()
public int getMax()
public int getQuant()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |