Class XMLSchemaValidator.ShortVector

java.lang.Object
org.apache.xerces.impl.xs.XMLSchemaValidator.ShortVector
Enclosing class:
XMLSchemaValidator

protected static final class XMLSchemaValidator.ShortVector extends Object
A simple vector for shorts.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ShortVector(int initialCapacity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(short value)
    Adds the value to the vector.
    void
    Clears the vector.
    boolean
    contains(short value)
    Returns whether the short is contained in the vector.
    int
    Returns the length of the vector.
    short
    valueAt(int position)
    Returns the short value at the specified position in the vector.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShortVector

      public ShortVector()
    • ShortVector

      public ShortVector(int initialCapacity)
  • Method Details

    • 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.