Class FloatVectorPrefix

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

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

    • FloatVectorPrefix

      public FloatVectorPrefix(int size)
  • Method Details

    • apply

      public float[] apply(float[] floats)
      Specified by:
      apply in interface Function<float[],float[]>