public class IlpRange extends Object
Compatibility Note: In JViews 8.0, this class was moved from
ilog.cpl.service to ilog.cpl.util.
| Constructor and Description |
|---|
IlpRange(Object minValue,
Object maxValue)
Constructs a new range.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public IlpRange(Object minValue, Object maxValue)
minValue - The lower (inclusive) value of the range.maxValue - The upper (inclusive) value of the range.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)
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.