Exemplo n.º 1
0
            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]);
            }
Exemplo n.º 2
0
 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];
 }