code: public short[] toShortArray ()
      {
          short[] values = new short[_size];
          for (int ii = 0; ii < _size; ii++) {
              values[ii] = (short)_values[ii];
          }
          return values;
      }
docs: Creates an array of shorts from the contents of this set. Any values outside the range of a
  short will be truncated by way of a cast.