use of suite.adt.pair.Pair in project suite by stupidsing.
the class ChrDblFunUtil method mapChrDbl.
public static ChrDblSource mapChrDbl(ChrDbl_Chr kf0, ChrDbl_Dbl vf0, ChrDblSource source2) {
ChrDbl_Chr kf1 = kf0.rethrow();
ChrDbl_Dbl vf1 = vf0.rethrow();
ChrDblPair pair1 = ChrDblPair.of((char) 0, (double) 0);
return pair -> {
boolean b = source2.source2(pair1);
if (b)
pair.update(kf1.apply(pair1.t0, pair1.t1), vf1.apply(pair1.t0, pair1.t1));
return b;
};
}
Aggregations