private HashSet <PairInt> SetOf(Dictionary <TempPairInt, HashSet <PairInt> > chain, Temp.Temp t, PairInt p) { TempPairInt key = new TempPairInt(t, p); if (chain[key] == null) { chain.Add(key, new HashSet <PairInt>()); } return(chain[key]); }
private HashSet<PairInt> SetOf(Dictionary<TempPairInt, HashSet<PairInt>> chain, Temp.Temp t, PairInt p) { TempPairInt key = new TempPairInt(t, p); if (chain[key] == null) chain.Add(key, new HashSet<PairInt>()); return chain[key]; }