Package gnu.lists

Class ShortVector<E>

    • Field Detail

      • empty

        protected static short[] empty
    • Constructor Detail

      • ShortVector

        public ShortVector()
    • Method Detail

      • getBufferLength

        public int getBufferLength()
        Get the allocated length of the data buffer.
        Specified by:
        getBufferLength in class SimpleVector<E>
      • getShort

        public final short getShort​(int index)
      • setShort

        public final void setShort​(int index,
                                   short value)
      • setShortRaw

        public final void setShortRaw​(int index,
                                      short value)
      • add

        public void add​(short v)
      • clearBuffer

        protected void clearBuffer​(int start,
                                   int count)
        Specified by:
        clearBuffer in class SimpleVector<E>