Interface Builder<T>

  • Type Parameters:
    T - the type of object to realize

    public interface Builder<T>
    A Builder provides a mechanism for realizing a specific class of object as required.

    This is an abstract representation of a dynamic no-args constructor.

    Author:
    bo 2012.10.25
    • Method Detail

      • realize

        T realize()
        Realizes an instance of type T.
        Returns:
        a (possibly new) instance of type T