ist.palcom.base
Class ReadableArray

java.lang.Object
  extended by ist.palcom.base.Object
      extended by ist.palcom.base.ReadableArray
Direct Known Subclasses:
Array

public class ReadableArray
extends Object

ReadableArray is a system class that represents a read-only sequence of objects. The index of the first value is 0. It is the superclass of the mutable class, Array, and of all Java arrays.


Constructor Summary
ReadableArray()
           
 
Method Summary
 Object at(Integer index)
          Returns the element at the specified index in the range 0 ..
 Integer length()
          Returns the length of this ReadableArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadableArray

public ReadableArray()
Method Detail

length

public Integer length()
Returns the length of this ReadableArray

Returns:
Integer length of this ReadableArray

at

public Object at(Integer index)
Returns the element at the specified index in the range 0 .. (length-1)

Parameters:
index - Integer index of the element to return
Returns:
Object element at the specified position