Interface TextObject.Transformer<TO extends TextObject>

Type Parameters:
TO - the TextObject type.
Enclosing interface:
TextObject
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 static interface TextObject.Transformer<TO extends TextObject>
Transformer interface for transform calls.
Since:
2.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    transform(TO object)
    Transforms the provided text object.
  • Method Details

    • transform

      void transform(TO object)
      Transforms the provided text object. The provided object reference may not be distinct each call. Do not save the reference passed to this function anywhere.
      Parameters:
      object - the object to transform.