class DoubleCondition extends BasicCondition<Double, DoubleCondition> implements FloatingPointChecks<Double, DoubleCondition> {

	@Override
	public DoubleCondition isNearZeroWithTolerance(Double tolerance)
	{
		require(this.subject).isNotNull();
		require(tolerance).isNotNull();

		if (!(Math.abs(this.subject) < tolerance))
		{
			DbcAssertionError.throwNew(new IllegalArgumentException("Expected double <" + this.subject + "> to be near zero with epsilon <" + tolerance + ">"), this.message);
		}

		return result();
	}

	public  DoubleCondition(Double subject);

}