ilog.rules.util

Class IlrInterval

  • java.lang.Object
    • ilog.rules.util.IlrInterval


  • public class IlrInterval
    extends java.lang.Object
    This class models an interval of Object.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrInterval(java.lang.Object left, java.lang.Object right, boolean leftopen, boolean rightopen)
      Creates an interval of Object.
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrInterval

        public IlrInterval(java.lang.Object left,
                   java.lang.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 java.lang.Object getLeftBound()
        Returns the left limit of the interval.
        Returns:
        The object given as left bound of the interval.
      • getRightBound

        public java.lang.Object getRightBound()
        Returns the right limit of the interval.
        Returns:
        The object given as right bound of the interval.

© Copyright IBM Corp. 1987, 2017