use of suite.primitive.adt.map.FltObjMap in project suite by stupidsing.
the class FltOutlet method toListMap.
public <K> FltObjMap<FloatsBuilder> toListMap(Flt_Flt valueFun) {
FltObjMap<FloatsBuilder> map = new FltObjMap<>();
float c;
while ((c = next()) != FltFunUtil.EMPTYVALUE) map.computeIfAbsent(c, k_ -> new FloatsBuilder()).append(valueFun.apply(c));
return map;
}
Aggregations