FileDocCategorySizeDatePackage
ObjectList.javaAPI DocJava SE 6 API2082Tue Jun 10 00:22:56 BST 2008com.sun.org.apache.xerces.internal.xs.datatypes

ObjectList

public interface ObjectList

The ObjectList is an immutable ordered collection of Object.

author
Ankit Pasricha, IBM
version
$Id: ObjectList.java,v 1.2.6.1 2005/09/06 03:55:07 sunithareddy Exp $

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.