ilog.rules.factory

Class IlrArrayLength

  • All Implemented Interfaces:
    java.io.Serializable


    public final class IlrArrayLength
    extends IlrValue
    This class represents an array length expression. An array length expression refers to the length of an array using a form like arr.length.

    Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.

    See Also:
    Serialized Form
    • Constructor Detail

      • IlrArrayLength

        public IlrArrayLength(IlrValue array)
        Constructs an array length expression on an array.
        Parameters:
        array - An expression, whose type must be array.
    • Method Detail

      • getArray

        public IlrValue getArray()
        Gets the array value of this expression.
        Returns:
        The array value of this expression.
      • exploreValue

        public java.lang.Object exploreValue(IlrFactoryExplorer explorer)
        Explores the array length as a value and returns an object as a result.
        Specified by:
        exploreValue in class IlrValue
        Parameters:
        explorer - The factory explorer.
        Returns:
        An object, the result of the exploration, or null if the method does not return a value.

© Copyright IBM Corp. 1987, 2017