Code example for BigInteger

Methods: compareTo

0
			return true; 
		} else { 
			try { 
				BigInteger value= t.getIntegerValue(cp);
				// if (leftBound <= value && value <= rightBound) { 
				if (leftBound.compareTo(value) <= 0 && value.compareTo(rightBound) <= 0) {
					return true; 
				} else { 
					return false; 
				} 
			} catch (TermIsNotAnInteger e) {
				return false; 
			} 
		} 
	} 
}