Rule Execution Server API

ilog.rules.util
Class IlrInterval

java.lang.Object
  extended by ilog.rules.util.IlrInterval

public class IlrInterval
extends Object

This class models an interval of Object.


Constructor Summary
IlrInterval(Object left, Object right, boolean leftopen, boolean rightopen)
          Creates an interval of Object.
 
Method Summary
 Object getLeftBound()
          Returns the left limit of the interval.
 boolean getLeftOpen()
          Returns a Boolean telling whether the left limit is excluded from the interval.
 Object getRightBound()
          Returns the right limit of the interval.
 boolean getRightOpen()
          Returns a Boolean telling whether the right limit is excluded from the interval.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrInterval

public IlrInterval(Object left,
                   Object right,
                   boolean leftopen,
                   boolean rightopen)
Creates an interval of Object.

Parameters:
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.
Method Detail

getLeftOpen

public boolean getLeftOpen()
Returns a Boolean telling whether the left limit is excluded from the interval.

Returns:
true if the left limit is excluded from the interval.

getRightOpen

public boolean getRightOpen()
Returns a Boolean telling whether the right limit is excluded from the interval.

Returns:
true if the right limit is excluded from the interval.

getLeftBound

public Object getLeftBound()
Returns the left limit of the interval.

Returns:
The object given as left bound of the interval.

getRightBound

public Object getRightBound()
Returns the right limit of the interval.

Returns:
The object given as right bound of the interval.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013