Interface Initializer<T>

Type Parameters:
T - The type of the instances being configured by the Initializer.
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 Initializer<T>
The Initializer defines the most basic functionality which must be provided in order to initialize (configure) objects of a predefined type.
  • Method Summary

    Modifier and Type
    Method
    Description
    initialize(T aInstance)
    Initializes (configures) an instance of the given type.
  • Method Details

    • initialize

      T initialize(T aInstance)
      Initializes (configures) an instance of the given type.
      Parameters:
      aInstance - The instance to be initialized (configured).
      Returns:
      The initialized (configured) instance.