java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_collection.List
All Implemented Interfaces:
java.util.function.LongFunction<java.util.List<java.lang.Object>>

@Deprecated
public class List
extends java.lang.Object
implements java.util.function.LongFunction<java.util.List<java.lang.Object>>
Deprecated.
Create a List from a long input based on two functions, the first to determine the list size, and the second to populate the list with object values. The input fed to the second function is incremented between elements.

To directly create Lists of Strings from the String version of the same mapping functions, simply use StringList instead.

This function is not recommended, given that the other List functions are more clear about how they construct values. This function may be removed in the next major release, but it will be retained as deprecated for now.

  • Constructor Summary

    Constructors
    Constructor Description
    List​(java.lang.Object sizeFunc, java.lang.Object valueFunc)
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.Object> apply​(long value)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • List

      public List​(java.lang.Object sizeFunc, java.lang.Object valueFunc)
      Deprecated.
  • Method Details

    • apply

      public java.util.List<java.lang.Object> apply​(long value)
      Deprecated.
      Specified by:
      apply in interface java.util.function.LongFunction<java.util.List<java.lang.Object>>