Interface SlottedBuilder<W,P>

Type Parameters:
W - The type of the whole to be created
P - The type of the parts that are contributed
All Superinterfaces:
SlotSource<P>
All Known Subinterfaces:
ObservableSlottedValue<W,P>, SlottedBuilderDelegate<W,P>
All Known Implementing Classes:
ObservableSlottedValueImpl, SlottedBuilderDelegateBase, SlottedBuilderImpl

public interface SlottedBuilder<W,P> extends SlotSource<P>
Interface where a whole is created from parts, whereas these parts are requested from different contributors. Contributors request slots into which they can place a supplier for the part they wish to contribute. Slots should be released via Slot.close(). The whole can be repeatedly assembled using build() thereby reflecting the latest state of the parts. During assembly null values on supplies and contributions are ignored. Thread safety depends on the implementation.
Author:
raven
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface org.aksw.commons.util.slot.SlotSource

    newSlot
  • Method Details

    • build

      W build()