tech.kronicle.utils.MapCollectors Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kronicle-utils Show documentation
Show all versions of kronicle-utils Show documentation
Kronicle utils library that contains utility classes for use by Kronicle and its plugins
package tech.kronicle.utils;
import java.util.Map;
import java.util.stream.Collector;
public final class MapCollectors {
public static Collector, ?, Map> toMap() {
return java.util.stream.Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue);
}
private MapCollectors() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy