Class Set
- java.lang.Object
-
- io.virtdata.libbasics.shared.from_long.to_collection.Set
-
- All Implemented Interfaces:
java.util.function.LongFunction<java.util.Set<java.lang.Object>>
public class Set extends java.lang.Object implements java.util.function.LongFunction<java.util.Set<java.lang.Object>>Create aSetfrom a long input based on two functions, the first to determine the set size, and the second to populate the set with object values. The input fed to the second function is incremented between elements. To create Sets of Strings from the String version of the same mapping functions, simply useStringSetinstead.