ValueFormatter

@FunctionalInterface
public interface ValueFormatter<T>
Type parameters
T
input value type
Known direct subinterfaces:
NumberFormatter

Interface for converting values of a type T to strings according to specific rules.

See also

NumberFormatter, Formula.format(ValueFormatter, Formula)

Summary

Interface Methods
String format (T x)
Formats value x according to the formatter rules.

format

public String format (
	T x
);

Formats value x according to the formatter rules.

Parameters
x
value to format
Returns

formatted string