Class MapCollector

java.lang.Object
org.litebridgedb.commons.collector.MapCollector

public final class MapCollector extends Object
Utility class for Collectors providing functionality to create LinkedHashMap instances.

This class contains static methods for collecting elements of a Stream into a LinkedHashMap. It uses user-provided mapping functions to determine both the keys and values of the resulting map.

The class is final and contains a private constructor to prevent instantiation, as it is intended to be used solely as a utility class.

  • Method Details