public short get(int index) {
        if (index < shorts.length) {
            return shorts[index];
        }
        return (short)0;
    }
Returns the short at the given index
@param index index into the array
@return The short value at the given index. A 0 will
be return for any index not initialized to
another value.
@throws IndexOutOfBoundsException if the index is negative
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/ShortArray.java