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

org.bitbucket.cowwoc.requirements.java.internal.IntegerVerifierImpl 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.IntegerValidator;
import org.bitbucket.cowwoc.requirements.java.IntegerVerifier;
import org.bitbucket.cowwoc.requirements.java.internal.extension.AbstractNumberVerifier;

/**
 * Default implementation of {@code IntegerVerifier}.
 */
public final class IntegerVerifierImpl
	extends AbstractNumberVerifier, IntegerValidator, Integer>
	implements IntegerVerifier
{
	/**
	 * @param validator the validator to delegate to
	 * @throws AssertionError if {@code validator} is null
	 */
	public IntegerVerifierImpl(IntegerValidator validator)
	{
		super(validator);
	}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy