io.virtdata.formatting.Format Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
package io.virtdata.formatting;
import io.virtdata.annotations.Example;
import io.virtdata.annotations.ThreadSafeMapper;
import java.util.function.Function;
/**
* Apply the Java String.format method to an incoming object.
* @see Java 8 String.format(...) javadoc
* Note: This function can often be quite slow, so more direct methods are generally preferrable.
*/
@ThreadSafeMapper
public class Format implements Function