org.apache.xerces.impl.xs

Class XMLSchemaValidator.ShortVector

protected static final class XMLSchemaValidator.ShortVector extends Object

A simple vector for shorts.
Constructor Summary
ShortVector()
ShortVector(int initialCapacity)
Method Summary
voidadd(short value)
Adds the value to the vector.
voidclear()
Clears the vector.
booleancontains(short value)
Returns whether the short is contained in the vector.
intlength()
Returns the length of the vector.
shortvalueAt(int position)
Returns the short value at the specified position in the vector.

Constructor Detail

ShortVector

public ShortVector()

ShortVector

public ShortVector(int initialCapacity)

Method Detail

add

public void add(short value)
Adds the value to the vector.

clear

public void clear()
Clears the vector.

contains

public boolean contains(short value)
Returns whether the short is contained in the vector.

length

public int length()
Returns the length of the vector.

valueAt

public short valueAt(int position)
Returns the short value at the specified position in the vector.
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.