Esempio n. 1
0
 public int GetHashCode(RangeTransition <T> trans)
 {
     return((trans.groupNumber.GetHashCode()) ^
            (trans.rangeEnd.GetHashCode()) ^
            (trans.rangeStart.GetHashCode()));
 }
Esempio n. 2
0
 public bool Equals(RangeTransition <T> x, RangeTransition <T> y)
 {
     return(x.groupNumber == y.groupNumber &&
            x.rangeEnd == y.rangeEnd &&
            x.rangeStart == y.rangeStart);
 }