Interface Generator<R>


@GwtCompatible public interface Generator<R>
Simple generator callback to generate objects of the specific type.
Since:
4.2.416
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates an object of the specified type.
  • Method Details

    • invoke

      R invoke()
      Generates an object of the specified type. Each call to this method should create a new instance.
      Returns:
      the generated object of the specified type
      Since:
      4.2.416