Rule Execution Server API

ilog.rules.factory
Class IlrArrayLength

java.lang.Object
  extended by ilog.rules.factory.IlrValue
      extended by ilog.rules.factory.IlrArrayLength
All Implemented Interfaces:
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 Summary
IlrArrayLength(IlrValue array)
          Constructs an array length expression on an array.
 
Method Summary
 Object exploreValue(IlrFactoryExplorer explorer)
          Explores the array length as a value and returns an object as a result.
 IlrValue getArray()
          Gets the array value of this expression.
 
Methods inherited from class ilog.rules.factory.IlrValue
add, divide, getField, getReflect, getType, getXOMType, invokeEquals, isConstant, isEvent, isEventCondition, isNull, multiply, remainder, subtract, testAfter, testAfter, testBefore, testBefore, testEqual, testFalse, testGreaterOrEqual, testGreaterThan, testIn, testInstanceOf, testLessOrEqual, testLessThan, testNotEqual, testNotIn, testOccursin, testTrue, timeof, toNegative, toPositive, toPostfixDecr, toPostfixIncr, toPrefixDecr, toPrefixIncr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013