Interface ItemCollector<T extends ItemModel>

    • Method Detail

      • collect

        java.util.List<? extends ItemModel> collect​(T item)
        Collects the items that are related to a given ItemModel
        Parameters:
        item - the itemModel that will be inspected to return the related item models.
        Returns:
        a list with the related item models, never null.
        Throws:
        java.lang.NullPointerException - if item is null.