static int substringsScoreICPosNeg(S s, Cl pos, Cl neg) { ret substringsScoreIC_optimized1(s, pos)-substringsScoreIC_optimized1(s, neg); } static int substringsScoreICPosNeg(S s, Pair> posNeg) { ret substringsScoreICPosNeg(s, posNeg.a, posNeg.b); }