|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.util.IlpRange
public class IlpRange
Container class for a range of values, used to specify part of a domain.
Compatibility Note: In JViews 8.0, this class was moved from
ilog.cpl.service to ilog.cpl.util.
| Constructor Summary | |
|---|---|
IlpRange(Object minValue,
Object maxValue)
Constructs a new range. |
|
| Method Summary | |
|---|---|
boolean |
contains(Object value)
Checks whether a given value is included in the range. |
boolean |
equals(Object other)
Test IlpRanges for equality. |
Object |
getMaxValue()
Returns the maximum (inclusive) value of the range. |
Object |
getMinValue()
Returns the minimum (inclusive) value of the range. |
int |
hashCode()
Support for hashmap. |
String |
toString()
Create a string containing the range. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlpRange(Object minValue,
Object maxValue)
minValue - The lower (inclusive) value of the range.maxValue - The upper (inclusive) value of the range.| Method Detail |
|---|
public Object getMinValue()
public Object getMaxValue()
public boolean contains(Object value)
value - The value to check.
true if the value is included in the range.public boolean equals(Object other)
equals in class Objectother - Object to test for equality with.
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||