Interface Formatter.Identity

All Superinterfaces:
Formatter<String>
Enclosing interface:
Formatter<T>

public static interface Formatter.Identity extends Formatter<String>
  • Method Details

    • wrap

      default <U> Formatter<U> wrap(Class<U> targetClass, Function<String,U> wrapper)
      Returns a wrapping formatter
      Type Parameters:
      U - the wrapped type
      Parameters:
      targetClass - the wrapped type
      wrapper - the wrapper function
      Returns:
      a wrapped formmater