All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bitbucket.cowwoc.requirements.java.internal.NoOpFloatingPointVerifier Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 Gili Tzabari
 * Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
 */
package org.bitbucket.cowwoc.requirements.java.internal;

import org.bitbucket.cowwoc.requirements.java.Configuration;
import org.bitbucket.cowwoc.requirements.java.FloatingPointVerifier;

/**
 * An implementation of {@link FloatingPointVerifier} that does nothing.
 *
 * @param  the type of the floating-point number
 */
public final class NoOpFloatingPointVerifier>
	extends NoOpFloatingPointCapabilities, T>
	implements FloatingPointVerifier
{
	/**
	 * @param config the verifier's configuration
	 * @throws AssertionError if {@code config} is null
	 */
	public NoOpFloatingPointVerifier(Configuration config)
	{
		super(config);
	}

	@Override
	protected FloatingPointVerifier getThis()
	{
		return this;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy