org.apache.xerces.impl.xs.util

Class ShortListImpl

public class ShortListImpl extends Object implements ShortList

Containts a list of Object's.

Version: $Id: ShortListImpl.java,v 1.4 2005/05/16 20:07:07 mrglavas Exp $

Author: Sandy Gao, IBM

UNKNOWN:

Constructor Summary
ShortListImpl(short[] array, int length)
Construct an XSObjectList implementation
Method Summary
booleancontains(short item)
Checks if the unsigned short item is a member of this list.
booleanequals(Object obj)
intgetLength()
The number of Objects in the list.
shortitem(int index)

Constructor Detail

ShortListImpl

public ShortListImpl(short[] array, int length)
Construct an XSObjectList implementation

Parameters: array the data array length the number of elements

Method Detail

contains

public boolean contains(short item)
Checks if the unsigned short item is a member of this list.

Parameters: item unsigned short whose presence in this list is to be tested.

Returns: True if this list contains the unsigned short item.

equals

public boolean equals(Object obj)

getLength

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

item

public short item(int index)
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.