code: public int submit(T[] dataArray) {
          return submitBulk(Optional.ofNullable(dataArray).map(Arrays::asList)
                  .orElseGet(Collections::emptyList));
      }
docs: Submit int.
  
  @param dataArray the data array
  @return the int