Interface Builder<T>

Type Parameters:
T - the type of the object to build.

public interface Builder<T>
This is the generic interface for a builder. A builder is an object following the builder-pattern in order to build some object using a simple and fluent API.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new instance of the object to build.
  • Method Details

    • build

      T build()
      Creates a new instance of the object to build. If the Builder is reused, any additional changes to the Builder shall NOT have any effect on instances previously returned by this method.
      Returns:
      the object to build.