io.virtdata.basicsmappers.from_long.to_string.MapTemplate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
package io.virtdata.basicsmappers.from_long.to_string;
import io.virtdata.annotations.Example;
import io.virtdata.annotations.ThreadSafeMapper;
import java.util.HashMap;
import java.util.Map;
import java.util.function.LongFunction;
import java.util.function.LongToIntFunction;
/**
* Construct a {@code Map} 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.
*/
@ThreadSafeMapper
public class MapTemplate implements LongFunction
© 2015 - 2025 Weber Informatics LLC | Privacy Policy