presto-spi/src/main/java/io/prestosql/spi/block/ShortArrayBlockBuilder.java/ShortArrayBlockBuilder/getShort
class ShortArrayBlockBuilder:    @Override
    public short getShort(int position, int offset)
    {
        checkReadablePosition(position);
        if (offset != 0) {
            throw new IllegalArgumentException("offset must be zero");
        }
        return values[position];
    }