Interface ConstructionCallback<T>

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 ConstructionCallback<T>

Functional interface for a factory that wants to register an object to an IdentifiedCollection without completely creating it.

  • Method Summary

    Modifier and Type
    Method
    Description
    Attempt to create the object, or give reasons why it failed
  • Method Details

    • create

      ResultOrProblems<T> create()

      Attempt to create the object, or give reasons why it failed