Class DoubleVectorPrefix

java.lang.Object
io.nosqlbench.virtdata.lib.vectors.primitive.DoubleVectorPrefix
All Implemented Interfaces:
Function<double[],double[]>

public class DoubleVectorPrefix extends Object implements Function<double[],double[]>
Prefix the incoming array with an empty double[] of the given size.
  • Constructor Details

    • DoubleVectorPrefix

      public DoubleVectorPrefix(int size)
  • Method Details

    • apply

      public double[] apply(double[] doubles)
      Specified by:
      apply in interface Function<double[],double[]>