| java.lang.Object org.apache.xerces.impl.xs.util.ShortListImpl
ShortListImpl | public class ShortListImpl implements ShortList(Code) | | Containts a list of Object's.
author: Sandy Gao, IBM version: $Id: ShortListImpl.java 446723 2006-09-15 20:37:45Z mrglavas $ |
Constructor Summary | |
public | ShortListImpl(short[] array, int length) |
Method Summary | |
public boolean | contains(short item) Checks if the unsigned short item is a
member of this list. | public boolean | equals(Object obj) | public int | getLength() The number of Objects in the list. | public short | item(int index) |
EMPTY_LIST | final public static ShortList EMPTY_LIST(Code) | | An immutable empty list.
|
ShortListImpl | public ShortListImpl(short[] array, int length)(Code) | | Construct an XSObjectList implementation
Parameters: array - the data array Parameters: length - the number of elements |
contains | public boolean contains(short item)(Code) | | 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. True if this list contains the unsigned short item . |
getLength | public int getLength()(Code) | | The number of Objects in the list. The range of valid
child node indices is 0 to length-1 inclusive.
|
|
|