com.silentq.util
Class QShortVector

java.lang.Object
  |
  +--com.silentq.util.QV
        |
        +--com.silentq.util.QShortVector

public class QShortVector
extends QV

Use this class for short-only Vectors.

See Also:
Serialized Form

Fields inherited from class com.silentq.util.QV
BOOLEAN, BYTE, CHARACTER, DOUBLE, FLOAT, INTEGER, LONG, OBJECT, SHORT, throwException, wrapper
 
Constructor Summary
QShortVector()
          This just calls the constructor in QV.
QShortVector(int initialCapacity)
          This just calls the constructor in QV.
QShortVector(int initialCapacity, int capacityIncrement)
          This just calls the constructor in QV.
 
Method Summary
 short elementAt(int index)
          Calls QV.shortAt()
 short firstElement()
          Calls QV.firstAsShort()
 short lastElement()
          Calls QV.lastAsShort()
 
Methods inherited from class com.silentq.util.QV
addElement, addElement, addElement, addElement, addElement, addElement, addElement, addElement, addElement, booleanAt, byteAt, capacity, charAt, clone, contains, contains, contains, contains, contains, contains, contains, contains, contains, copyInto, copyInto, copyInto, copyInto, copyInto, copyInto, copyInto, copyInto, copyInto, doubleAt, elements, ensureCapacity, firstAsBoolean, firstAsByte, firstAsChar, firstAsDouble, firstAsFloat, firstAsInt, firstAsLong, firstAsShort, floatAt, getThrowException, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, insertElementAt, insertElementAt, insertElementAt, insertElementAt, insertElementAt, insertElementAt, insertElementAt, insertElementAt, insertElementAt, intAt, isEmpty, lastAsBoolean, lastAsByte, lastAsChar, lastAsDouble, lastAsFloat, lastAsInt, lastAsLong, lastAsShort, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, longAt, objectAt, removeAllElements, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElementAt, setElementAt, setElementAt, setElementAt, setElementAt, setElementAt, setElementAt, setElementAt, setElementAt, setElementAt, setSize, setThrowException, shortAt, size, toString, trimToSize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QShortVector

public QShortVector(int initialCapacity,
                    int capacityIncrement)
This just calls the constructor in QV.

QShortVector

public QShortVector(int initialCapacity)
This just calls the constructor in QV.

QShortVector

public QShortVector()
This just calls the constructor in QV.
Method Detail

elementAt

public short elementAt(int index)
Calls QV.shortAt()

firstElement

public short firstElement()
Calls QV.firstAsShort()

lastElement

public short lastElement()
Calls QV.lastAsShort()