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

org.bitbucket.cowwoc.requirements.java.internal.DoubleVerifierImpl 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.FloatingPointValidator;
import org.bitbucket.cowwoc.requirements.java.FloatingPointVerifier;
import org.bitbucket.cowwoc.requirements.java.internal.extension.AbstractFloatingPointVerifier;

/**
 * Default implementation of {@code FloatingPointVerifier}.
 */
public final class DoubleVerifierImpl
	extends AbstractFloatingPointVerifier, FloatingPointValidator, Double>
	implements FloatingPointVerifier
{
	/**
	 * @param validator the validator to delegate to
	 * @throws AssertionError if {@code validator} is null
	 */
	public DoubleVerifierImpl(FloatingPointValidator validator)
	{
		super(validator);
	}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy