예제 #1
0
 public Triple <U, V, W> GetTriple234()
 {
     return(Triple.Create <U, V, W>(this.second, this.third, this.fourth));
 }
예제 #2
0
 public int GetHashCode(Triple <T, U, V> obj)
 {
     return(this.tComparer.GetHashCode(obj.First) ^ this.uComparer.GetHashCode(obj.Second) ^ this.vComparer.GetHashCode(obj.Third));
 }
예제 #3
0
 public Triple <T, U, V> GetTriple123()
 {
     return(Triple.Create <T, U, V>(this.first, this.second, this.third));
 }
예제 #4
0
 public bool Equals(Triple <T, U, V> x, Triple <T, U, V> y)
 {
     return(this.tComparer.Equals(x.First, y.First) && this.uComparer.Equals(x.Second, y.Second) && this.vComparer.Equals(x.Third, y.Third));
 }