public class RangeInt
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
RangeInt(int lowerbound,
int upperbound)
Specifies a discrete range.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLowerbound()
Returns the lowerbound of the range.
|
int |
getUpperbound()
Returns the upperbound of the range.
|
void |
setLowerbound(int lowerbound)
Set the upperbound of the range.
|
void |
setUpperbound(int upperbound)
Set the upperbound of the range.
|
public RangeInt(int lowerbound,
int upperbound)
lowerbound - of the range.upperbound - of the range.public int getLowerbound()
public int getUpperbound()
public void setUpperbound(int upperbound)
upperbound - of the range.public void setLowerbound(int lowerbound)
lowerbound - of the range.