use of suite.primitive.adt.map.LngObjMap in project suite by stupidsing.
the class LngOutlet method toListMap.
public <K> LngObjMap<LongsBuilder> toListMap(Lng_Lng valueFun) {
LngObjMap<LongsBuilder> map = new LngObjMap<>();
long c;
while ((c = next()) != LngFunUtil.EMPTYVALUE) map.computeIfAbsent(c, k_ -> new LongsBuilder()).append(valueFun.apply(c));
return map;
}
Aggregations