Краснояров - Лабораторная работа #2

Yes, it would be right. I suggest "ProbabilityValuePair". And "FirstComponent" and "SecondComponent" in it => "Probability" and "Value".