public class IlrInterval
extends java.lang.Object
| Constructor and Description |
|---|
IlrInterval(java.lang.Object left,
java.lang.Object right,
boolean leftopen,
boolean rightopen)
Creates an interval of Object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getLeftBound()
Returns the left limit of the interval.
|
boolean |
getLeftOpen()
Returns a Boolean telling whether the left limit is excluded from the
interval.
|
java.lang.Object |
getRightBound()
Returns the right limit of the interval.
|
boolean |
getRightOpen()
Returns a Boolean telling whether the right limit is excluded from the
interval.
|
public IlrInterval(java.lang.Object left,
java.lang.Object right,
boolean leftopen,
boolean rightopen)
left - Provides the left limit.right - Provides the right limit.leftopen - A true value means that the left limit
is excluded from the interval.rightopen - A true value means that the right limit
is excluded from the interval.public boolean getLeftOpen()
true if the left limit is excluded from the
interval.public boolean getRightOpen()
true if the right limit is excluded from the
interval.public java.lang.Object getLeftBound()
public java.lang.Object getRightBound()
© Copyright IBM Corp. 1987, 2017