|
|||||||||
| Home >> All >> com >> trapezium >> [ chisel overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.trapezium.chisel
Class IntegerConstraints

java.lang.Objectcom.trapezium.chisel.IntegerConstraints
- public final class IntegerConstraints
- extends java.lang.Object
Constraints for an integer option value. Used by objects implementing the OptionHolder interface to deal with options that take integer values with minimum and maximum values.
- Since:
- 1.0
- Version:
- 1.0, 18 Mar 1998
| Field Summary | |
(package private) int |
incr
|
(package private) int |
max
|
(package private) int |
min
|
| Constructor Summary | |
IntegerConstraints(int min,
int max,
int incr)
|
|
| Method Summary | |
int |
decrement(int n)
|
int |
getIncrement()
|
int |
getMaximum()
|
int |
getMinimum()
|
int |
increment(int n)
|
int |
legalize(int n)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
min
int min
max
int max
incr
int incr
| Constructor Detail |
IntegerConstraints
public IntegerConstraints(int min,
int max,
int incr)
| Method Detail |
getMinimum
public int getMinimum()
getMaximum
public int getMaximum()
getIncrement
public int getIncrement()
legalize
public int legalize(int n)
increment
public int increment(int n)
decrement
public int decrement(int n)
|
|||||||||
| Home >> All >> com >> trapezium >> [ chisel overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.trapezium.chisel.IntegerConstraints