code: static IFunction<Data, Entry<Integer, Data>> toPartition(final IPartitionService partitionService) {
          return new DataToEntry(partitionService);
      }
docs: Returns a {@link IFunction} that transforms a {@link Data}
  parameter to an map entry where the key is the partition ID
  and the value is the provided parameter.
  
  @param partitionService the partition service