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

public class SetStepped
extends java.lang.Object
implements java.util.function.LongFunction<java.util.Set<java.lang.Object>>
Create a Set from a long input based on a set of provided functions. As a 'Pair-wise' function, the size of the resulting collection is determined directly by the number of provided element functions, assuming no duplicate values. As a 'Stepped' function, the input value is incremented before being used by each element function.
  • Constructor Summary

    Constructors
    Constructor Description
    SetStepped​(java.lang.Object... funcs)  
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

    • SetStepped

      public SetStepped​(java.lang.Object... funcs)
  • Method Details

    • apply

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