code: function (partitions) {
          var jvmObject = new org.apache.spark.HashPartitioner(partitions);
          JavaWrapper.call(this, jvmObject);
  
      }
docs: @constructor
  @memberof module:eclairjs
  @classdesc A {@link Partitioner} that implements hash-based partitioning using
  Java's `Object.hashCode`.
  
  Java arrays have hashCodes that are based on the arrays' identities rather than their contents,
  so attempting to partition an RDD[Array[_]] or RDD[(Array[_], _)] using a HashPartitioner will
  produce an unexpected or incorrect result.