|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.impl.xs.util.ObjectListImpl
Containts a list of Object's.
Constructor Summary | |
ObjectListImpl(java.lang.Object[] array,
int length)
Construct an ObjectList implementation |
|
ObjectListImpl(java.util.Vector v)
|
Method Summary | |
int |
getLength()
The number of Objects in the list. |
java.lang.Object |
item(int index)
Returns the index th item in the collection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectListImpl(java.util.Vector v)
public ObjectListImpl(java.lang.Object[] array, int length)
array
- the data arraylength
- the number of elementsMethod Detail |
public int getLength()
Objects
in the list. The range of valid
child node indices is 0 to length-1
inclusive.
getLength
in interface ObjectList
public java.lang.Object item(int index)
ObjectList
index
th item in the collection. The index
starts at 0. If index
is greater than or equal to the
number of objects in the list, this returns null
.
item
in interface ObjectList
index
- index into the collection.
Object
at the index
th position
in the ObjectList
, or null
if that is
not a valid index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |