Interface Formatter<V>

All Superinterfaces:
Function<V,String>
All Known Subinterfaces:
CustomFormatter
All Known Implementing Classes:
CaptionAdapter, CollectionFormatter, DateFormatter, NumberFormatter

public interface Formatter<V> extends Function<V,String>
Marker interface to indicate that the implementing class can be used as a formatter.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(V value)
    Formats a value to a string.

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Method Details

    • apply

      String apply(V value)
      Formats a value to a string.
      Specified by:
      apply in interface Function<V,String>
      Parameters:
      value - a value
      Returns:
      formatted string