Code example for BigInteger

Methods: equals

0
        { 
            return false; 
        } else 
        { 
            DHPublicKeyParameters dhpublickeyparameters = (DHPublicKeyParameters)obj;
            return dhpublickeyparameters.getY().equals(y) && super.equals(obj);
        } 
    } 
 
    private BigInteger y;
}