Code example for BigInteger

Methods: subtract

0
        return right_;
    } 
     
    boolean isSplitRequired() 
    { 
        return ( left_.subtract(right_).signum() >= 0 );
    } 
     
    /** 
     * Helps determine if a given point on the DHT ring is contained 
     * in the range in question. 
     * @param bi point in question 
     * @return true if the point contains within the range else false. 
     */ 
    public boolean contains(BigInteger bi)
    { 
        if ( left_.subtract(right_).signum() > 0 )
        { 
            /*  
             * left is greater than right we are wrapping around. 
Experience pair programming with AI  Get Codota for Java