Class BiFunctionAdapterFactory<T,​N>

  • Type Parameters:
    T - Adapter type.
    N - Notifier type.
    All Implemented Interfaces:
    AdapterFactory, ComposeableAdapterFactory

    public class BiFunctionAdapterFactory<T,​N>
    extends DelegatingAdapterFactory<T>
    Adapter factory which creates an adapter using a BiFunction, e.g. a constructor with two parameters. The first argument is the notifier, the second is the factory. The second argument can be used to get access to the root adapter factory, e.g. for retrieval of contextual information.