Interface Doneable<T>

Type Parameters:
T - the type of object that is produced when done

public interface Doneable<T>
Interface for objects that can be "done" or completed. This is typically used in builder patterns to signal that the building process is complete and the final object should be returned.
  • Method Summary

    Modifier and Type
    Method
    Description
    Completes the building process and returns the final object.
  • Method Details

    • done

      T done()
      Completes the building process and returns the final object.
      Returns:
      the completed object