Class XMLSchemaValidator.ShortVector
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.impl.xs.XMLSchemaValidator.ShortVector
-
- Enclosing class:
- XMLSchemaValidator
protected static final class XMLSchemaValidator.ShortVector extends Object
A simple vector forshorts.
-
-
Constructor Summary
Constructors Constructor Description ShortVector()ShortVector(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
length
public int length()
Returns the length of the vector.
-
add
public void add(short value)
Adds the value to the vector.
-
valueAt
public short valueAt(int position)
Returns the short value at the specified position in the vector.
-
clear
public void clear()
Clears the vector.
-
contains
public boolean contains(short value)
Returns whether the short is contained in the vector.
-
-