Class Aggregators.SetAggregator<V,​T>

    • Constructor Detail

      • SetAggregator

        public SetAggregator​(java.lang.String name,
                             java.lang.String description,
                             IAccessorFactory<T> attribute,
                             IType<? super V> type)
    • Method Detail

      • acceptType

        public boolean acceptType​(IType<IItem> type)
        Parameters:
        type - an item type to check if the the factory can create consumers for
        Returns:
        true if the factory can create consumers for the supplied type, false otherwise
      • newItemConsumer

        public Aggregators.SetConsumer<T> newItemConsumer​(IType<IItem> itemType)
        Parameters:
        itemType - an item type to get an item consumer for
        Returns:
        a new item consumer for the supplied type