Class MapTemplate
- java.lang.Object
-
- io.virtdata.basicsmappers.from_long.to_string.MapTemplate
-
- All Implemented Interfaces:
java.util.function.LongFunction<java.util.Map<java.lang.String,java.lang.String>>
public class MapTemplate extends java.lang.Object implements java.util.function.LongFunction<java.util.Map<java.lang.String,java.lang.String>>Construct aMap<String,String>from a set of input functions which determine the size of the map, the value of each key, and the value for that key. In between calling the key and value functions, the input value is incremented.
-
-
Constructor Summary
Constructors Constructor Description MapTemplate(java.util.function.LongToIntFunction sizeFunc, java.util.function.LongFunction<java.lang.String> keyFunc, java.util.function.LongFunction<java.lang.String> valueFunc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>apply(long value)
-