Class FloatVectors

java.lang.Object
io.nosqlbench.virtdata.lib.vectors.primitive.FloatVectors
All Implemented Interfaces:
LongFunction<float[]>

public class FloatVectors extends Object implements LongFunction<float[]>
This is the float version of the DoubleVector function. To facilitate a direct relationship between the double values from that function and the float values from this, this one defers to the double version for primary data. This function essentially wraps and converts the results from the DoubleVector function.
  • Constructor Details

    • FloatVectors

      public FloatVectors(String spec)
  • Method Details

    • apply

      public float[] apply(long value)
      Specified by:
      apply in interface LongFunction<float[]>