Interface Formatter<T,O>

Type Parameters:
T - T - the type of the objects to format
O - O - the type of the formatted objects
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Formatter<T,O>
Formatter interface, used to format objects inputs and outputs
  • Method Summary

    Modifier and Type
    Method
    Description
    format(T t)
    Format an objects
  • Method Details

    • format

      O format(T t)
      Format an objects
      Parameters:
      t - - the objects
      Returns:
      the formatted objects