static Pair/ComparablePair construtor