Esempio n. 1
0
 public int GetHashCode(Pair <T, U> obj)
 {
     return(obj.GetHashCode());
 }
Esempio n. 2
0
 public bool Equals(Pair <T, U> x, Pair <T, U> y)
 {
     return(x == y);
 }
Esempio n. 3
0
 public static T AsFirst(Pair <T, U> p)
 {
     return(p.First);
 }
Esempio n. 4
0
 public static U AsSecond(Pair <T, U> p)
 {
     return(p.Second);
 }
Esempio n. 5
0
 public bool Equals(Pair <T, U> other)
 {
     return(this == other);
 }