hashCode() public method

public hashCode ( ) : int
return int
コード例 #1
0
 public int hashCode()
 {
     if (isZero())
     {
         return(0);
     }
     return(numerator.hashCode() + denominator.hashCode());
 }