Package org.dspace.matomo.model
Class MatomoRequestDetailsSplitter
java.lang.Object
org.dspace.matomo.model.MatomoRequestDetailsSplitter
This class is used to split a list of
The key of the map is the value of the parameter named "_id", or "default" if the "_id" is not set.
MatomoRequestDetails into a map
of List<MatomoRequestDetails>. The key of the map is the value of the parameter named "_id", or "default" if the "_id" is not set.
- Author:
- Vincenzo Mecca (vins01-4science - vincenzo.mecca at 4science.com)
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String,List<MatomoRequestDetails>> split(List<MatomoRequestDetails> details) Splits a list of MatomoRequestDetails into a map grouped by their "_id" parameter.
-
Method Details
-
split
Splits a list of MatomoRequestDetails into a map grouped by their "_id" parameter.- Parameters:
details- The list of MatomoRequestDetails to split- Returns:
- A Map where the key is the "_id" parameter value (or "default" if not set) and the value is a List of MatomoRequestDetails with that "_id"
-