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

com.univocity.api.common.Transformation Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2013 Univocity Software Pty Ltd. All rights reserved.
 * This file is subject to the terms and conditions defined in file
 * 'LICENSE.txt', which is part of this source code package.
 */

package com.univocity.api.common;

/**
 * A value transformation operation. Transforms a given input value to an output.
 *
 * @param  The input type to be converted to the output type O
 * @param  The type of output produced by a conversion applied to the input I.
 *
 * @author Univocity Software Pty Ltd - [email protected]
 */
public interface Transformation {

	/**
	 * Converts an input value of type I to an output value of type O.
	 *
	 * @param input the input of type I to be converted to an object of type O
	 *
	 * @return the conversion result.
	 */
	O transform(I input);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy