目录1、背景2、准备数据2.1 准备mapping2.2 准备数据3、metric聚合3.1 max 平均值3.1.1 dsl3.1.2 Java代码3.2 min最小值3.2.1 dsl3.2.2 java3.3 min最小值3.3.1 dsl3.3.2 java3.4 min最小值3.4.1 dsl3.4.2 java3.5 c
I have a list which has repeating items and I want a list of the unique items with their frequency. For example, I have [\'a\', \'a\', \'b\', \'b\', \'b\'开发者_开发问答], and I want [(\'a\', 2), (\