org.openstreetmap.atlas.utilities.conversion.Converter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atlas Show documentation
Show all versions of atlas Show documentation
"Library to load OSM data into an Atlas format"
package org.openstreetmap.atlas.utilities.conversion;
import java.util.function.Function;
/**
* Convert from A type to B type
*
* @param
* The source type
* @param
* The target type
* @author tony
*/
public interface Converter extends Function
{
@Override
default B apply(final A other)
{
return convert(other);
}
B convert(A object);
}