Class DoubleArrayCache

java.lang.Object
io.nosqlbench.virtdata.lib.vectors.primitive.VectorSequence
io.nosqlbench.virtdata.lib.vectors.primitive.DoubleArrayCache
All Implemented Interfaces:
LongFunction<double[]>

public class DoubleArrayCache extends VectorSequence
Precompute the interior double[] values to use as a LUT.
  • Constructor Details

  • Method Details

    • getDimensions

      public long getDimensions()
      Specified by:
      getDimensions in class VectorSequence
      Returns:
      the number of components per vector produced.
    • apply

      public double[] apply(long value)