code: public short[] toShortArray() {
          return collectSized(ShortBuffer::new, ShortBuffer::add, ShortBuffer::addAll, ShortBuffer::new,
              ShortBuffer::addUnsafe).toArray();
      }
docs: Returns a {@code short[]} array containing the elements of this stream
  which are converted to shorts using {@code (short)} cast operation.
  
  <p>
  This is a terminal operation.
  
  @return an array containing the elements of this stream
  @since 0.3.0