de.tsl2.nano.util.operation.IConverter Maven / Gradle / Ivy
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Thomas Schneider
* created on: Jul 2, 2012
*
* Copyright: (c) Thomas Schneider 2012, all rights reserved
*/
package de.tsl2.nano.util.operation;
/**
* to convert from one to another object. we use the names from and to. synonyms would be:
* from = source, min, begin
* to = destination, max, end, until
*
*
* @author Thomas Schneider
* @version $Revision$
*/
public interface IConverter {
/** converts TO to FROM */
FROM from(TO toValue);
/** converts FROM to TO */
TO to(FROM fromValue);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy