@FunctionalInterface
public interface ValueFormatter<T>
Type parameters
T
- input value type
See also
NumberFormatter
, Formula.format(ValueFormatter, Formula)
Summary
Interface Methods
String |
format (T x)
Formats value x according to the formatter rules. |
public String format (
T x
);
Parameters
x
- value to format
Returns
formatted string
Interface for converting values of a type
T
to strings according to specific rules.