FileDocCategorySizeDatePackage
ObjectList.javaAPI DocApache Xerces 3.0.12293Fri Sep 14 20:33:52 BST 2007org.apache.xerces.xs.datatypes

ObjectList

public interface ObjectList

The ObjectList is an immutable ordered collection of Object.

author
Ankit Pasricha, IBM
version
$Id: ObjectList.java 447250 2006-09-18 05:27:17Z mrglavas $

Fields Summary
Constructors Summary
Methods Summary
public booleancontains(java.lang.Object item)
Checks if the Object item is a member of this list.

param
item Object whose presence in this list is to be tested.
return
True if this list contains the Object item.

public intgetLength()
The number of Objects in the list. The range of valid child object indices is 0 to length-1 inclusive.

public java.lang.Objectitem(int index)
Returns the indexth item in the collection or null if index is greater than or equal to the number of objects in the list. The index starts at 0.

param
index index into the collection.
return
The Object at the indexth position in the ObjectList, or null if the index specified is not valid - greater than or equal to the number of items in the list or less than zero.