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