Interface Generator<T>

Type Parameters:
T - the type parameter
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 Generator<T>
Represents a default value generator for the document fields in field manipulation instruction.
Since:
4.0
Author:
Anindya Chatterjee
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(Document document)
    Generates a new value for a field in the document.
  • Method Details

    • generate

      T generate(Document document)
      Generates a new value for a field in the document.
      Parameters:
      document - the document
      Returns:
      the value