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

	@Override
	public DoubleCondition isLessThanOrEqual(Double number)
	{
		require(this.subject).isNotNull();
		require(number).isNotNull();

		if (!(Double.compare(this.subject, number) <= 0))
		{
			DbcAssertionError.throwNew(new IllegalArgumentException("Expected double <" + this.subject + "> to be less than or equal to <" + number + ">"), this.message);
		}

		return result();
	}

	public  DoubleCondition(Double subject);

}