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 Detail

      • 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.